Details

Time bar (total: 3.9s)

sample45.0ms

Algorithm
intervals
Results
27.0ms349×body80valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 5 (14.0ms)

IterNodesCost
0267
1684
21404
32004
42144
52173
62173

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ x (* y z)) (* t a))
0.0b
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
0.0b
(+ x (* y z))
5.7b
(* (* a z) b)

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
20×add-log-exp
10×sum-log
pow1 add-exp-log fma-def add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u
+-commutative flip3-+ associate-*r* pow-prod-down prod-exp cbrt-unprod flip-+
associate-+l+
associate-*l* *-commutative
Counts
4 → 73
Calls
4 calls:
10.0ms
(+ (+ x (* y z)) (* t a))
43.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
2.0ms
(+ x (* y z))
7.0ms
(* (* a z) b)

series195.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(+ (+ x (* y z)) (* t a))
89.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
26.0ms
(+ x (* y z))
33.0ms
(* (* a z) b)

simplify60.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0358405
11787339
25002330

prune262.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ x (* y z)) (* t a))
0.0b
(+ (+ (+ x (* y z)) (* t a)) (* a (* z b)))
0.0b
(+ x (* y z))
5.2b
(* a (* z b))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
20×add-log-exp
10×sum-log
pow1 add-exp-log fma-def add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u
+-commutative flip3-+ associate-*l* pow-prod-down prod-exp cbrt-unprod flip-+
associate-+l+
associate-*r* *-commutative
Counts
4 → 73
Calls
4 calls:
10.0ms
(+ (+ x (* y z)) (* t a))
47.0ms
(+ (+ (+ x (* y z)) (* t a)) (* a (* z b)))
2.0ms
(+ x (* y z))
6.0ms
(* a (* z b))

series192.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(+ (+ x (* y z)) (* t a))
89.0ms
(+ (+ (+ x (* y z)) (* t a)) (* a (* z b)))
29.0ms
(+ x (* y z))
27.0ms
(* a (* z b))

simplify52.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0346404
11564338
25001329

prune264.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

5.7b
(* (* a z) b)
15.0b
(cbrt (* (* a z) b))
15.0b
(cbrt (* (* a z) b))
15.0b
(cbrt (* (* a z) b))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-prod pow1/3 associate-*r* pow-prod-down prod-exp cbrt-unprod
associate-*l* *-commutative
Counts
4 → 53
Calls
4 calls:
7.0ms
(* (* a z) b)
5.0ms
(cbrt (* (* a z) b))
5.0ms
(cbrt (* (* a z) b))
5.0ms
(cbrt (* (* a z) b))

series316.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (* a z) b)
99.0ms
(cbrt (* (* a z) b))
93.0ms
(cbrt (* (* a z) b))
97.0ms
(cbrt (* (* a z) b))

simplify85.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0185316
1726268
23235259
35001240

prune261.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 1 expressions with local error:

2.7b
(fma (fma a b y) z (fma a t x))

rewrite1.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
1 → 10
Calls
1 calls:
0.0ms
(fma (fma a b y) z (fma a t x))

series92.0ms

Counts
1 → 3
Calls
1 calls:
92.0ms
(fma (fma a b y) z (fma a t x))

simplify61.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
04458
19351
230749
3203249
4500249

prune46.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0.0b

regimes227.0ms

Accuracy

97.8% (0.0b remaining)

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

bsearch128.0ms

Steps
ItersRangePoint
9
95364.75422143041
42621217661.865875
125421.21825987603
7
-14.579906112121636
-0.18740162914459313
-0.5276657735004097

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
13210

end0.0ms

sample1.4s

Algorithm
intervals
Results
935.0ms11776×body80valid