Details

Time bar (total: 2.6s)

sample33.0ms

Algorithm
intervals
Results
16.0ms364×body80valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 5 (17.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

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite67.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:
2.0ms
(+ x (* y z))
10.0ms
(+ (+ x (* y z)) (* t a))
46.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
7.0ms
(* (* a z) b)

series189.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ x (* y z))
52.0ms
(+ (+ x (* y z)) (* t a))
85.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
26.0ms
(* (* a z) b)

simplify57.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0358405
11787339
25001330

prune257.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (* y z))
0.0b
(+ (+ x (* y z)) (fma t a (* (* a z) b)))
0.0b
(fma t a (* (* a z) b))
3.6b
(* (* 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:
2.0ms
(+ x (* y z))
11.0ms
(+ (+ x (* y z)) (fma t a (* (* a z) b)))
0.0ms
(fma t a (* (* a z) b))
7.0ms
(* (* a z) b)

series211.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ x (* y z))
92.0ms
(+ (+ x (* y z)) (fma t a (* (* a z) b)))
66.0ms
(fma t a (* (* a z) b))
27.0ms
(* (* a z) b)

simplify42.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0283338
11270288
25001276

prune244.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 1 expressions with local error:

1.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))

series90.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
04458
19351
230749
3203249
4500249

prune48.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 1 expressions with local error:

2.4b
(fma (fma b z t) a (fma z y 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 b z t) a (fma z y x))

series93.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
04358
19051
228349
3186449
4500149

prune46.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes149.0ms

Accuracy

31.8% (1.4b remaining)

Error of 1.4b against oracle of 0.0b and baseline of 2.0b

bsearch43.0ms

Steps
ItersRangePoint
7
-6.706692759065691e+51
-1.733951129064696e+50
-1.9912421463674327e+51

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0207
1227
2227

end0.0ms

sample842.0ms

Algorithm
intervals
Results
453.0ms11837×body80valid