Details

Time bar (total: 7.8s)

sample15.0ms

Algorithm
intervals
Results
7.0ms382×body80valid

simplify3.3s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1139
2349
3799
41229
51299
61469
72049
83739
910629
1033459
done50009

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 1 expressions with local error:

0.1b
(* (* x x) (- 3.0 (* x 2.0)))

rewrite13.0ms

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

series77.0ms

Counts
1 → 3
Calls
1 calls:
76.0ms
(* (* x x) (- 3.0 (* x 2.0)))

simplify488.0ms

Counts
36 → 36
Iterations

Useful iterations: done (486.0ms)

IterNodesCost
077533
1215518
2945442
done5000430

prune57.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 2.0 (pow x 3))
0.0b
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
0.2b
(* (* x x) 3.0)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
10×add-cbrt-cube
pow1 add-cube-cbrt *-un-lft-identity
add-log-exp
prod-exp
unswap-sqr
unpow-prod-down cube-prod associate-*l* cbrt-unprod
expm1-log1p-u pow-prod-down log1p-expm1-u
sum-log *-commutative sqr-pow
+-commutative neg-sub0 cube-mult pow-to-exp associate-+r- fma-def flip3-+ unpow3 unsub-neg neg-log pow-exp flip-+
Counts
3 → 72
Calls
3 calls:
6.0ms
(* 2.0 (pow x 3))
8.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
7.0ms
(* (* x x) 3.0)

series167.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(* 2.0 (pow x 3))
100.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
26.0ms
(* (* x x) 3.0)

simplify872.0ms

Counts
81 → 81
Iterations

Useful iterations: done (870.0ms)

IterNodesCost
0116768
1314668
21482613
done5000611

prune164.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (- 3.0 (* x 2.0)))
0.1b
(* x (* x (- 3.0 (* x 2.0))))

rewrite26.0ms

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

series146.0ms

Counts
2 → 6
Calls
2 calls:
73.0ms
(* x (- 3.0 (* x 2.0)))
73.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify591.0ms

Counts
80 → 80
Iterations

Useful iterations: done (589.0ms)

IterNodesCost
01171119
12571105
21045949
done5000925

prune144.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.2b
(* (* x x) (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
3.8b
(/ (* (* x x) (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
16×add-exp-log add-cbrt-cube
pow1
add-sqr-sqrt prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-*r/ associate-*r*
cbrt-undiv distribute-rgt-in distribute-lft-in times-frac div-exp pow-prod-down associate-/r*
expm1-log1p-u sub-neg flip3-- prod-diff associate-/r/ flip-- log1p-expm1-u associate-/l/ add-log-exp
frac-2neg flip3-+ associate-*l* clear-num *-commutative flip-+ div-inv associate-/l* difference-of-squares unswap-sqr
Counts
2 → 59
Calls
2 calls:
14.0ms
(* (* x x) (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
14.0ms
(/ (* (* x x) (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

series258.0ms

Counts
2 → 6
Calls
2 calls:
103.0ms
(* (* x x) (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
155.0ms
(/ (* (* x x) (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

simplify889.0ms

Counts
65 → 65
Iterations

Useful iterations: 2 (146.0ms)

IterNodesCost
01241568
14061513
222281131
done50001131

prune140.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

regimes34.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11712
21912
done1912

end0.0ms

sample372.0ms

Algorithm
intervals
Results
235.0ms12030×body80valid