Details

Time bar (total: 20.6s)

sample33.0ms

Algorithm
intervals
Results
18.0ms330×body80valid

simplify4.1s

Counts
1 → 1
Iterations

Useful iterations: 3 (34.0ms)

IterNodesCost
01013
12713
26311
315110
429110
535610
642010
753210
869610
994410
10113910
11121810
12121910
done121910

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 3 expressions with local error:

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)

rewrite407.0ms

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

series261.0ms

Counts
3 → 9
Calls
3 calls:
153.0ms
(- (* (* x 3.0) x) (* x 4.0))
67.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
40.0ms
(* (* x 3.0) x)

simplify3.9s

Counts
70 → 70
Iterations

Useful iterations: done (3.9s)

IterNodesCost
0115883
1303833
21014671
34222641
done5000638

prune267.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity prod-diff
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- fma-neg diff-log flip-- fma-udef
Counts
2 → 28
Calls
2 calls:
10.0ms
(- (* x 9.0) 12.0)
0.0ms
(fma x (- (* x 9.0) 12.0) 3.0)

series102.0ms

Counts
2 → 6
Calls
2 calls:
61.0ms
(- (* x 9.0) 12.0)
41.0ms
(fma x (- (* x 9.0) 12.0) 3.0)

simplify3.8s

Counts
34 → 34
Iterations

Useful iterations: 4 (1.9s)

IterNodesCost
067353
1145316
2327275
31049270
44308264
done5000264

prune158.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize12.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
(* (* x (- (* x 3.0) 4.0)) 3.0)

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×pow1 add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity prod-diff
associate-*r*
distribute-rgt-in distribute-lft-in add-log-exp
associate-*r/ associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u sub-neg flip3-- flip-- log1p-expm1-u
associate-*l/ *-commutative
fma-neg diff-log unswap-sqr
Counts
3 → 72
Calls
3 calls:
10.0ms
(- (* x 3.0) 4.0)
41.0ms
(* x (- (* x 3.0) 4.0))
77.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)

series323.0ms

Counts
3 → 9
Calls
3 calls:
64.0ms
(- (* x 3.0) 4.0)
120.0ms
(* x (- (* x 3.0) 4.0))
138.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)

simplify3.5s

Counts
81 → 81
Iterations

Useful iterations: done (3.5s)

IterNodesCost
0126957
1271859
2763734
33282717
done5000698

prune272.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize22.0ms

Local error

Found 3 expressions with local error:

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

rewrite154.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
12×*-un-lft-identity associate-*r*
10×add-exp-log add-cube-cbrt
add-cbrt-cube
unpow-prod-down associate-*l*
pow1 fma-neg prod-diff add-log-exp unswap-sqr
prod-exp sqr-pow
expm1-log1p-u log1p-expm1-u
associate-*r/ *-commutative cbrt-unprod unpow2
distribute-rgt-in pow-to-exp sub-neg flip3-- distribute-lft-in flip3-+ diff-log pow-prod-down pow-exp flip-- flip-+ distribute-lft-out
Counts
3 → 78
Calls
3 calls:
18.0ms
(- (pow (* 3.0 (pow x 2)) 1) (* x 4.0))
118.0ms
(* 3.0 (+ (- (pow (* 3.0 (pow x 2)) 1) (* x 4.0)) 1.0))
15.0ms
(* 3.0 (pow x 2))

series234.0ms

Counts
3 → 9
Calls
3 calls:
139.0ms
(- (pow (* 3.0 (pow x 2)) 1) (* x 4.0))
61.0ms
(* 3.0 (+ (- (pow (* 3.0 (pow x 2)) 1) (* x 4.0)) 1.0))
33.0ms
(* 3.0 (pow x 2))

simplify1.6s

Counts
87 → 87
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01401193
1342995
21054898
done5000793

prune298.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes33.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify6.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
188
done88

end0.0ms

sample986.0ms

Algorithm
intervals
Results
719.0ms10631×body80valid