Details

Time bar (total: 3.7s)

sample33.0ms

Algorithm
intervals
Results
15.0ms391×body80valid

simplify25.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 5 (20.0ms)

IterNodesCost
0267
1684
21404
32004
42144
52173
62173

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite73.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:
50.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
2.0ms
(+ x (* y z))
11.0ms
(+ (+ x (* y z)) (* t a))
7.0ms
(* (* a z) b)

series207.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0358405
11787339
25001330

prune270.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite70.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:
48.0ms
(+ (+ (+ x (* y z)) (* t a)) (* a (* z b)))
2.0ms
(+ x (* y z))
11.0ms
(+ (+ x (* y z)) (* t a))
6.0ms
(* a (* z b))

series200.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(+ (+ (+ x (* y z)) (* t a)) (* a (* z b)))
26.0ms
(+ x (* y z))
53.0ms
(+ (+ x (* y z)) (* t a))
28.0ms
(* a (* z b))

simplify56.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0346404
11564338
25001329

prune428.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma t a (* a (* z b)))
0.0b
(+ x (* y z))
0.0b
(+ (+ x (* y z)) (fma t a (* a (* z b))))
3.7b
(* a (* z b))

rewrite22.0ms

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

series222.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0272337
11098287
25002275

prune259.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (fma a t (fma z y x)) (* a (* z b)))
0.0b
(fma a t (fma z y x))
3.7b
(* a (* z b))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
expm1-log1p-u fma-def associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
fma-udef
+-commutative associate-+l+ flip3-+ associate-*r* sum-log *-commutative flip-+
Counts
3 → 47
Calls
3 calls:
3.0ms
(+ (fma a t (fma z y x)) (* a (* z b)))
0.0ms
(fma a t (fma z y x))
6.0ms
(* a (* z b))

series210.0ms

Counts
3 → 9
Calls
3 calls:
115.0ms
(+ (fma a t (fma z y x)) (* a (* z b)))
65.0ms
(fma a t (fma z y x))
29.0ms
(* a (* z b))

simplify152.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0191235
1785210
24378210
35001210

prune176.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes180.0ms

Accuracy

21.8% (2.2b remaining)

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

bsearch120.0ms

Steps
ItersRangePoint
9
1.760984088591002e-143
6.987627315780133e-136
7.650549830274309e-137
9
-3.341477536928727e+31
-1.4992112650889504e+26
-3.337085368854656e+27

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0268
1268

end0.0ms

sample864.0ms

Algorithm
intervals
Results
463.0ms11857×body80valid