Details

Time bar (total: 2.8s)

sample31.0ms

Algorithm
intervals
Results
13.0ms378×body80valid

simplify23.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

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))
4.6b
(* (* a z) b)

rewrite24.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:
5.0ms
(+ (+ x (* y z)) (* t a))
9.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
3.0ms
(+ x (* y z))
5.0ms
(* (* a z) b)

series199.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0358405
11787339
25002330

prune249.0ms

Pruning

3 alts after pruning (3 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)) (fma t a (* (* a z) b)))
0.0b
(+ x (* y z))
4.6b
(* (* a z) b)

rewrite17.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:
1.0ms
(fma t a (* (* a z) b))
5.0ms
(+ (+ x (* y z)) (fma t a (* (* a z) b)))
3.0ms
(+ x (* y z))
5.0ms
(* (* a z) b)

series200.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(fma t a (* (* a z) b))
86.0ms
(+ (+ x (* y z)) (fma t a (* (* a z) b)))
25.0ms
(+ x (* y z))
26.0ms
(* (* a z) b)

simplify42.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0283338
11270288
25001276

prune249.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite9.0ms

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

series212.0ms

Counts
3 → 9
Calls
3 calls:
62.0ms
(fma z y (* (fma b z t) a))
97.0ms
(+ x (fma z y (* (fma b z t) a)))
53.0ms
(* (fma b z t) a)

simplify84.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0166236
1519211
22957211
35001210

prune175.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 1 expressions with local error:

2.9b
(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:
1.0ms
(fma (fma a b y) z (fma a t x))

series98.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
04458
19351
230749
3203249
4500249

prune44.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes155.0ms

Accuracy

34.6% (1.5b remaining)

Error of 1.5b against oracle of 0.0b and baseline of 2.3b

bsearch37.0ms

Steps
ItersRangePoint
6
1.2219014593692723e-69
1.4204298954588733e-68
7.581671218297873e-69

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0187
1187

end0.0ms

sample827.0ms

Algorithm
intervals
Results
436.0ms11729×body80valid