Details

Time bar (total: 20.7s)

sample30.0ms

Algorithm
intervals
Results
19.0ms337×body80valid

simplify3.9s

Counts
1 → 1
Iterations

Useful iterations: 3 (28.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.2b

localize14.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.1b
(* (* x 3.0) x)

rewrite443.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:
25.0ms
(- (* (* x 3.0) x) (* x 4.0))
396.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
20.0ms
(* (* x 3.0) x)

series239.0ms

Counts
3 → 9
Calls
3 calls:
130.0ms
(- (* (* x 3.0) x) (* x 4.0))
65.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
44.0ms
(* (* x 3.0) x)

simplify3.7s

Counts
70 → 70
Iterations

Useful iterations: done (3.7s)

IterNodesCost
0115883
1303833
21014671
34222641
done5000638

prune206.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize12.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)

rewrite22.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:
21.0ms
(- (* x 9.0) 12.0)
1.0ms
(fma x (- (* x 9.0) 12.0) 3.0)

series91.0ms

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

simplify3.3s

Counts
34 → 34
Iterations

Useful iterations: 4 (1.6s)

IterNodesCost
067353
1145316
2327275
31049270
44308264
done5000264

prune95.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize19.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))

rewrite202.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:
16.0ms
(- (pow (* 3.0 (pow x 2)) 1) (* x 4.0))
157.0ms
(* 3.0 (+ (- (pow (* 3.0 (pow x 2)) 1) (* x 4.0)) 1.0))
26.0ms
(* 3.0 (pow x 2))

series182.0ms

Counts
3 → 9
Calls
3 calls:
109.0ms
(- (pow (* 3.0 (pow x 2)) 1) (* x 4.0))
40.0ms
(* 3.0 (+ (- (pow (* 3.0 (pow x 2)) 1) (* x 4.0)) 1.0))
32.0ms
(* 3.0 (pow x 2))

simplify1.1s

Counts
87 → 87
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01401193
1342995
21054898
done5000793

prune340.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log
12×add-sqr-sqrt
11×add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-*l* fma-udef
add-log-exp
distribute-rgt-in distribute-lft-in
cbrt-prod expm1-log1p-u associate-*r* log1p-expm1-u
prod-diff
*-commutative unswap-sqr
sub-neg flip3-- fma-neg diff-log flip--
Counts
4 → 82
Calls
4 calls:
10.0ms
(- (* x 3.0) 4.0)
0.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
51.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (fma x (- (* x 3.0) 4.0) 1.0)))
16.0ms
(* (cbrt 3.0) (fma x (- (* x 3.0) 4.0) 1.0))

series346.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(- (* x 3.0) 4.0)
47.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
111.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (fma x (- (* x 3.0) 4.0) 1.0)))
113.0ms
(* (cbrt 3.0) (fma x (- (* x 3.0) 4.0) 1.0))

simplify4.5s

Counts
94 → 94
Iterations

Useful iterations: done (4.5s)

IterNodesCost
01431490
13451436
210541111
34241973
done5000970

prune365.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes27.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
078
188
done88

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.3s10623×body80valid