Details

Time bar (total: 10.9s)

sample25.0ms

Algorithm
intervals
Results
14.0ms341×body80valid

simplify2.6s

Counts
1 → 1
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
01013
12613
25511
312211
430311
582411
6282011
done500111

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x 3.0) 4.0)
0.1b
(* x (- (* x 3.0) 4.0))
0.1b
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
add-log-exp
associate-*r/
distribute-rgt-in sub-neg distribute-lft-in
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod unswap-sqr
flip3-+ diff-log flip-+
Counts
3 → 58
Calls
3 calls:
12.0ms
(- (* x 3.0) 4.0)
49.0ms
(* x (- (* x 3.0) 4.0))
19.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

series163.0ms

Counts
3 → 9
Calls
3 calls:
62.0ms
(- (* x 3.0) 4.0)
68.0ms
(* x (- (* x 3.0) 4.0))
33.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

simplify699.0ms

Counts
67 → 67
Iterations

Useful iterations: done (696.0ms)

IterNodesCost
0108772
1300749
21251683
done5000667

prune188.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* 9.0 x) 12.0)
0.1b
(* x (- (* 9.0 x) 12.0))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
sub-neg associate-*r* associate-*l*
distribute-rgt-in flip3-- distribute-lft-in associate-*r/ flip--
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 36
Calls
2 calls:
8.0ms
(- (* 9.0 x) 12.0)
36.0ms
(* x (- (* 9.0 x) 12.0))

series133.0ms

Counts
2 → 6
Calls
2 calls:
48.0ms
(- (* 9.0 x) 12.0)
85.0ms
(* x (- (* 9.0 x) 12.0))

simplify2.3s

Counts
42 → 42
Iterations

Useful iterations: 3 (766.0ms)

IterNodesCost
060401
1153395
2592359
34018351
done5001351

prune106.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 9.0 (pow x 2)) (* (- 12.0) x))
0.3b
(* 9.0 (pow x 2))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*r*
add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube add-log-exp unswap-sqr
associate-*l* prod-exp
pow1 distribute-lft-neg-out unpow2 sqr-pow
+-commutative pow-to-exp flip3-+ unsub-neg pow-exp sum-log *-commutative cbrt-unprod flip-+
Counts
2 → 40
Calls
2 calls:
10.0ms
(+ (* 9.0 (pow x 2)) (* (- 12.0) x))
14.0ms
(* 9.0 (pow x 2))

series156.0ms

Counts
2 → 6
Calls
2 calls:
114.0ms
(+ (* 9.0 (pow x 2)) (* (- 12.0) x))
41.0ms
(* 9.0 (pow x 2))

simplify671.0ms

Counts
46 → 46
Iterations

Useful iterations: done (670.0ms)

IterNodesCost
076458
1200404
2896356
done5000326

prune107.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x 3.0) 4.0)
0.1b
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (+ 1.0 (* x (- (* x 3.0) 4.0)))))
0.1b
(* x (- (* x 3.0) 4.0))
0.2b
(* (cbrt 3.0) (+ 1.0 (* x (- (* x 3.0) 4.0))))

rewrite133.0ms

Algorithm
rewrite-expression-head
Rules
20×pow1 add-exp-log
15×add-sqr-sqrt
13×add-cbrt-cube
10×associate-*l* pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-*r/
distribute-rgt-in distribute-lft-in associate-*r*
add-log-exp
cbrt-prod
sub-neg *-commutative unswap-sqr
flip3-- flip3-+ flip-- flip-+
diff-log
Counts
4 → 90
Calls
4 calls:
8.0ms
(- (* x 3.0) 4.0)
62.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (+ 1.0 (* x (- (* x 3.0) 4.0)))))
34.0ms
(* x (- (* x 3.0) 4.0))
24.0ms
(* (cbrt 3.0) (+ 1.0 (* x (- (* x 3.0) 4.0))))

series305.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* x 3.0) 4.0)
78.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (+ 1.0 (* x (- (* x 3.0) 4.0)))))
88.0ms
(* x (- (* x 3.0) 4.0))
93.0ms
(* (cbrt 3.0) (+ 1.0 (* x (- (* x 3.0) 4.0))))

simplify1.8s

Counts
102 → 102
Iterations

Useful iterations: done (1.8s)

IterNodesCost
01511625
14691594
226071280
done50001172

prune519.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes12.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1119
done119

end0.0ms

sample795.0ms

Algorithm
intervals
Results
571.0ms10776×body80valid