Details

Time bar (total: 3.2s)

sample45.0ms

Algorithm
intervals
Results
27.0ms393×body80valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 5 (14.0ms)

IterNodesCost
0267
1684
21404
32004
42144
52173
62173

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize11.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.4b
(* (* 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:
44.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
2.0ms
(+ x (* y z))
10.0ms
(+ (+ x (* y z)) (* t a))
6.0ms
(* (* a z) b)

series176.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
23.0ms
(+ x (* y z))
46.0ms
(+ (+ x (* y z)) (* t a))
26.0ms
(* (* a z) b)

simplify55.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0358405
11787339
25001330

prune249.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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
fma-def associate-*r* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
+-commutative associate-+l+ flip3-+ associate-*l* sum-log *-commutative flip-+ fma-udef
Counts
2 → 37
Calls
2 calls:
2.0ms
(+ (fma y z (fma a t x)) (* (* a z) b))
6.0ms
(* (* a z) b)

series127.0ms

Counts
2 → 6
Calls
2 calls:
101.0ms
(+ (fma y z (fma a t x)) (* (* a z) b))
26.0ms
(* (* a z) b)

simplify36.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0191199
1899174
25001174

prune132.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.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-*r* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ flip-+ fma-udef
associate-+l+ associate-+r+ associate-*l* *-commutative distribute-lft-out
Counts
4 → 66
Calls
4 calls:
11.0ms
(+ (+ x (* y z)) (fma t a (* (* a z) b)))
2.0ms
(+ x (* y z))
0.0ms
(fma t a (* (* a z) b))
7.0ms
(* (* a z) b)

series194.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(+ (+ x (* y z)) (fma t a (* (* a z) b)))
24.0ms
(+ x (* y z))
60.0ms
(fma t a (* (* a z) b))
26.0ms
(* (* a z) b)

simplify41.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0283338
11270288
25001276

prune237.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

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

series129.0ms

Counts
2 → 6
Calls
2 calls:
102.0ms
(+ (fma y z (fma a t x)) (pow (* a (* z b)) 1))
27.0ms
(* a (* z b))

simplify118.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 3 (114.0ms)

IterNodesCost
0187221
1747188
23810185
35001184

prune132.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes136.0ms

Accuracy

0% (2.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0176
1176

end0.0ms

sample1.2s

Algorithm
intervals
Results
755.0ms11821×body80valid