Details

Time bar (total: 2.4s)

sample24.0ms

Algorithm
intervals
Results
11.0ms351×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody320valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (10.0ms)

IterNodesCost
0316
1926
23096
38805
416305
518725
618865
718865

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma t x (* y 5.0))
0.0b
(fma (+ y z) (+ x x) (fma t x (* y 5.0)))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
1.0ms
(fma t x (* y 5.0))
1.0ms
(fma (+ y z) (+ x x) (fma t x (* y 5.0)))

series91.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(fma t x (* y 5.0))
57.0ms
(fma (+ y z) (+ x x) (fma t x (* y 5.0)))

simplify27.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
065129
1164113
2648111
35001111

prune59.0ms

Filtered
26 candidates to 23 candidates (88.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New24226
Fresh011
Picked011
Done000
Total24428

Merged error: 0.0b

Counts
28 → 4

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (+ y z) (+ x x) (fma 5.0 y (* t x)))
0.0b
(fma 5.0 y (* t x))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
1.0ms
(fma (+ y z) (+ x x) (fma 5.0 y (* t x)))
1.0ms
(fma 5.0 y (* t x))

series95.0ms

Counts
2 → 6
Calls
2 calls:
58.0ms
(fma (+ y z) (+ x x) (fma 5.0 y (* t x)))
36.0ms
(fma 5.0 y (* t x))

simplify27.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
063128
1162112
2646110
35002110

prune57.0ms

Filtered
26 candidates to 23 candidates (88.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New26026
Fresh022
Picked011
Done011
Total26430

Merged error: 0.0b

Counts
30 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (+ y z) z) y)
0.0b
(+ (+ y z) z)
0.0b
(* x (+ (+ (+ (+ y z) z) y) t))
0.0b
(+ (* x (+ (+ (+ (+ y z) z) y) t)) (* y 5.0))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
72×associate-+l+
68×*-un-lft-identity
37×distribute-lft-out
25×fma-def
22×+-commutative
20×add-log-exp
16×distribute-rgt-in distribute-lft-in
15×add-sqr-sqrt
14×associate-*r*
11×add-cube-cbrt
10×associate-*l* sum-log
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u
associate-*r/ *-commutative unswap-sqr
pow-prod-down prod-exp cbrt-unprod
Counts
4 → 140
Calls
4 calls:
9.0ms
(+ (+ (+ y z) z) y)
6.0ms
(+ (+ y z) z)
16.0ms
(* x (+ (+ (+ (+ y z) z) y) t))
32.0ms
(+ (* x (+ (+ (+ (+ y z) z) y) t)) (* y 5.0))

series162.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (+ (+ y z) z) y)
28.0ms
(+ (+ y z) z)
40.0ms
(* x (+ (+ (+ (+ y z) z) y) t))
63.0ms
(+ (* x (+ (+ (+ (+ y z) z) y) t)) (* y 5.0))

simplify58.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0479667
11957609
25001581

prune234.0ms

Filtered
152 candidates to 103 candidates (67.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1511152
Fresh011
Picked011
Done112
Total1524156

Merged error: 0b

Counts
156 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ y z) z)
0.0b
(+ (+ y z) z)
0.1b
(* x (sqrt (+ (+ (+ (+ y z) z) y) t)))
0.1b
(fma (* x (sqrt (+ (+ (+ (+ y z) z) y) t))) (sqrt (+ (+ (+ (+ y z) z) y) t)) (* y 5.0))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
18×distribute-lft-out
14×add-log-exp
13×add-sqr-sqrt
10×associate-*r*
add-cube-cbrt
fma-def sqrt-prod
pow1 add-exp-log sum-log add-cbrt-cube
+-commutative expm1-log1p-u associate-+l+ log1p-expm1-u
flip3-+ associate-*l* flip-+
sqrt-div associate-*r/ unswap-sqr
pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef
Counts
4 → 84
Calls
4 calls:
7.0ms
(+ (+ y z) z)
6.0ms
(+ (+ y z) z)
15.0ms
(* x (sqrt (+ (+ (+ (+ y z) z) y) t)))
1.0ms
(fma (* x (sqrt (+ (+ (+ (+ y z) z) y) t))) (sqrt (+ (+ (+ (+ y z) z) y) t)) (* y 5.0))

series378.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ (+ y z) z)
25.0ms
(+ (+ y z) z)
101.0ms
(* x (sqrt (+ (+ (+ (+ y z) z) y) t)))
223.0ms
(fma (* x (sqrt (+ (+ (+ (+ y z) z) y) t))) (sqrt (+ (+ (+ (+ y z) z) y) t)) (* y 5.0))

simplify44.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0340575
11297487
25002461

prune204.0ms

Filtered
96 candidates to 70 candidates (72.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New96096
Fresh011
Picked011
Done022
Total964100

Merged error: 0b

Counts
100 → 4

regimes109.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125
1125

end0.0ms

sample643.0ms

Algorithm
intervals
Results
333.0ms10504×body80valid
22.0ms94×body1280valid
13.0ms114×body640valid
4.0ms41×body320valid
2.0ms32×body160valid