Details

Time bar (total: 10.0s)

sample16.0ms

Algorithm
intervals
Results
8.0ms336×body80valid

simplify2.1s

Counts
1 → 1
Iterations

Useful iterations: 3 (15.0ms)

IterNodesCost
01013
12613
26111
314310
424610
530910
635610
743510
859110
990810
10107810
11115510
12115810
done115810

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite156.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
11×pow1 add-exp-log add-cbrt-cube add-log-exp
10×add-sqr-sqrt
add-cube-cbrt
associate-*r*
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
associate-+l+ fma-def
sub-neg flip3-+ diff-log associate-*r/ prod-diff sum-log *-commutative flip-+ distribute-lft-out
+-commutative distribute-rgt-in associate-+l- flip3-- distribute-lft-in fma-neg flip-- unswap-sqr
Counts
4 → 83
Calls
4 calls:
40.0ms
(+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)
7.0ms
(- (* (* x 3.0) x) (* x 4.0))
99.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
7.0ms
(* (* x 3.0) x)

series164.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)
78.0ms
(- (* (* x 3.0) x) (* x 4.0))
32.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
30.0ms
(* (* x 3.0) x)

simplify2.6s

Counts
95 → 95
Iterations

Useful iterations: 3 (941.0ms)

IterNodesCost
01301208
13401149
21061919
34580865
done5000865

prune234.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 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))

rewrite17.0ms

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

series118.0ms

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

simplify1.0s

Counts
56 → 56
Iterations

Useful iterations: 3 (242.0ms)

IterNodesCost
093644
1187552
2471481
31757470
done5000470

prune111.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 9.0 x 12.0)
0.1b
(* x (/ (* (fma 9.0 x 12.0) (fma 9.0 x (- 12.0))) (fma 9.0 x 12.0)))
0.2b
(* (fma 9.0 x 12.0) (fma 9.0 x (- 12.0)))
0.2b
(/ (* (fma 9.0 x 12.0) (fma 9.0 x (- 12.0))) (fma 9.0 x 12.0))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
15×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
10×associate-*r*
pow1
times-frac associate-*l* prod-exp cbrt-unprod
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
associate-/r* fma-udef
pow-prod-down *-commutative div-inv unswap-sqr
distribute-rgt-in frac-2neg distribute-lft-in associate-*r/ clear-num associate-/l*
Counts
4 → 84
Calls
4 calls:
0.0ms
(fma 9.0 x 12.0)
9.0ms
(* x (/ (* (fma 9.0 x 12.0) (fma 9.0 x (- 12.0))) (fma 9.0 x 12.0)))
3.0ms
(* (fma 9.0 x 12.0) (fma 9.0 x (- 12.0)))
4.0ms
(/ (* (fma 9.0 x 12.0) (fma 9.0 x (- 12.0))) (fma 9.0 x 12.0))

series299.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(fma 9.0 x 12.0)
85.0ms
(* x (/ (* (fma 9.0 x 12.0) (fma 9.0 x (- 12.0))) (fma 9.0 x 12.0)))
125.0ms
(* (fma 9.0 x 12.0) (fma 9.0 x (- 12.0)))
48.0ms
(/ (* (fma 9.0 x 12.0) (fma 9.0 x (- 12.0))) (fma 9.0 x 12.0))

simplify1.1s

Counts
96 → 96
Iterations

Useful iterations: 2 (170.0ms)

IterNodesCost
01151591
12631568
21163974
done5000974

prune255.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* 9.0 (pow x 2)) (* 12.0 x))
0.2b
(* 9.0 (pow x 2))

rewrite12.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 expm1-log1p-u log1p-expm1-u unpow2 sqr-pow
pow-to-exp sub-neg flip3-- fma-neg diff-log prod-diff pow-exp *-commutative flip-- cbrt-unprod
Counts
2 → 45
Calls
2 calls:
4.0ms
(- (* 9.0 (pow x 2)) (* 12.0 x))
6.0ms
(* 9.0 (pow x 2))

series104.0ms

Counts
2 → 6
Calls
2 calls:
76.0ms
(- (* 9.0 (pow x 2)) (* 12.0 x))
27.0ms
(* 9.0 (pow x 2))

simplify1.1s

Counts
51 → 51
Iterations

Useful iterations: done (1.1s)

IterNodesCost
083500
1190456
2535409
31610377
done5000376

prune110.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes17.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
01011
11311
done1311

end0.0ms

sample377.0ms

Algorithm
intervals
Results
266.0ms10578×body80valid