Details

Time bar (total: 12.3s)

sample49.0ms

Algorithm
intervals
Results
32.0ms620×body80valid

simplify1.6s

Counts
1 → 1
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
01931
15529
215828
344328
4120628
5344228
done500028

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a))))
0.1b
(fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0))
0.3b
(pow (fma a a (* b b)) 2.0)
0.6b
(* (* b b) (- 1.0 (* 3.0 a)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log add-sqr-sqrt
add-cube-cbrt *-un-lft-identity add-cbrt-cube
prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u add-log-exp
unpow-prod-down pow-unpow associate-*r* pow-prod-down prod-exp cbrt-unprod
sub-neg associate-*r/ fma-udef
pow-to-exp flip3-- pow-pow associate-*l* pow-exp *-commutative flip-- unswap-sqr sqr-pow
Counts
4 → 72
Calls
4 calls:
0.0ms
(fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a))))
0.0ms
(fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0))
1.0ms
(pow (fma a a (* b b)) 2.0)
13.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

series312.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a))))
94.0ms
(fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0))
116.0ms
(pow (fma a a (* b b)) 2.0)
50.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify641.0ms

Counts
84 → 84
Iterations

Useful iterations: done (639.0ms)

IterNodesCost
01601452
13831411
213711221
done50001218

prune289.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (* b b) (- 1.0 (* 3.0 a)))
24.8b
(cbrt (* (* b b) (- 1.0 (* 3.0 a))))
24.8b
(cbrt (* (* b b) (- 1.0 (* 3.0 a))))
24.8b
(cbrt (* (* b b) (- 1.0 (* 3.0 a))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt associate-*r/
add-cube-cbrt *-un-lft-identity
cbrt-div prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u flip3-- flip-- log1p-expm1-u add-log-exp
cbrt-prod pow1/3 associate-*r* pow-prod-down prod-exp cbrt-unprod
sub-neg
associate-*l* *-commutative unswap-sqr
Counts
4 → 72
Calls
4 calls:
13.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
7.0ms
(cbrt (* (* b b) (- 1.0 (* 3.0 a))))
7.0ms
(cbrt (* (* b b) (- 1.0 (* 3.0 a))))
8.0ms
(cbrt (* (* b b) (- 1.0 (* 3.0 a))))

series582.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
176.0ms
(cbrt (* (* b b) (- 1.0 (* 3.0 a))))
176.0ms
(cbrt (* (* b b) (- 1.0 (* 3.0 a))))
173.0ms
(cbrt (* (* b b) (- 1.0 (* 3.0 a))))

simplify620.0ms

Counts
84 → 84
Iterations

Useful iterations: done (617.0ms)

IterNodesCost
01621874
14131809
214961622
done50001487

prune416.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

localize24.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (* b b) (- 1.0 (* 3.0 a)))
10.2b
(cbrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))
10.2b
(cbrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))
10.2b
(cbrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))

rewrite17.0ms

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

series814.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
255.0ms
(cbrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))
250.0ms
(cbrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))
250.0ms
(cbrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))

simplify2.9s

Counts
84 → 84
Iterations

Useful iterations: 3 (1.3s)

IterNodesCost
01442483
13522463
212252202
349552028
done50002028

prune389.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

9.6b
(sqrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))
9.6b
(sqrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))
10.2b
(cbrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))
10.2b
(cbrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 cbrt-prod sqrt-prod
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 56
Calls
4 calls:
1.0ms
(sqrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))
1.0ms
(sqrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))
0.0ms
(cbrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))
1.0ms
(cbrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))

series919.0ms

Counts
4 → 12
Calls
4 calls:
210.0ms
(sqrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))
212.0ms
(sqrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))
249.0ms
(cbrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))
247.0ms
(cbrt (fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (pow (fma a a (* b b)) 2.0)))

simplify694.0ms

Counts
68 → 68
Iterations

Useful iterations: done (692.0ms)

IterNodesCost
01162438
12522296
26572112
320201994
done50011990

prune360.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0.0b

regimes151.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02051
12451
done2451

end0.0ms

sample1.4s

Algorithm
intervals
Results
1.1s20313×body80valid