Details

Time bar (total: 8.8s)

sample52.0ms

Algorithm
intervals
Results
25.0ms474×body80valid

simplify131.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0339
1879
22608
38728
424368
549578
650018

prune14.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.8b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma x y (* z t))
0.0b
(* 2.0 (* (- (fma c b a)) (* c i)))
0.0b
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
5.6b
(* (- (fma c b a)) (* c i))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log add-cbrt-cube
13×associate-*l*
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in
distribute-lft-neg-out associate-*r* *-commutative fma-udef
neg-mul-1 distribute-rgt-neg-out
Counts
4 → 72
Calls
4 calls:
0.0ms
(fma x y (* z t))
20.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
0.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
9.0ms
(* (- (fma c b a)) (* c i))

series998.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(fma x y (* z t))
85.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
789.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
72.0ms
(* (- (fma c b a)) (* c i))

simplify57.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0284526
11170437
25002427

prune353.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.7b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma t z (* x y))
0.0b
(* 2.0 (* (- (fma c b a)) (* c i)))
0.0b
(fma 2.0 (fma t z (* x y)) (* 2.0 (* (- (fma c b a)) (* c i))))
5.6b
(* (- (fma c b a)) (* c i))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log add-cbrt-cube
13×associate-*l*
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in
distribute-lft-neg-out associate-*r* *-commutative fma-udef
neg-mul-1 distribute-rgt-neg-out
Counts
4 → 72
Calls
4 calls:
0.0ms
(fma t z (* x y))
17.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
0.0ms
(fma 2.0 (fma t z (* x y)) (* 2.0 (* (- (fma c b a)) (* c i))))
8.0ms
(* (- (fma c b a)) (* c i))

series1.0s

Counts
4 → 12
Calls
4 calls:
57.0ms
(fma t z (* x y))
78.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
816.0ms
(fma 2.0 (fma t z (* x y)) (* 2.0 (* (- (fma c b a)) (* c i))))
70.0ms
(* (- (fma c b a)) (* c i))

simplify56.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0282526
11164437
25001427

prune350.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.7b

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 2.0 (fma t z (* x y)) (* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
0.4b
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
0.4b
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
5.6b
(* (- (fma c b a)) (* c i))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
32×pow1 add-exp-log add-cbrt-cube
22×associate-*l*
19×pow-prod-down prod-exp cbrt-unprod
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
sqrt-prod
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-out distribute-lft-neg-in distribute-rgt-neg-in associate-*r* *-commutative distribute-rgt-neg-out
neg-mul-1 fma-udef
Counts
4 → 95
Calls
4 calls:
0.0ms
(fma 2.0 (fma t z (* x y)) (* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
19.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
52.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
9.0ms
(* (- (fma c b a)) (* c i))

series1.8s

Counts
4 → 12
Calls
4 calls:
1.2s
(fma 2.0 (fma t z (* x y)) (* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
197.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
300.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
72.0ms
(* (- (fma c b a)) (* c i))

simplify73.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0390870
11706708
25001674

prune429.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.7b

localize20.0ms

Local error

Found 4 expressions with local error:

1.3b
(cbrt (fma c b a))
1.3b
(cbrt (fma c b a))
2.4b
(* (- (* (cbrt (fma c b a)) (cbrt (fma c b a)))) (* (cbrt (fma c b a)) (* c i)))
2.7b
(* (cbrt (fma c b a)) (* c i))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log
14×add-cbrt-cube
12×associate-*l*
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r* *-commutative
distribute-lft-neg-out distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in
Counts
4 → 76
Calls
4 calls:
0.0ms
(cbrt (fma c b a))
1.0ms
(cbrt (fma c b a))
18.0ms
(* (- (* (cbrt (fma c b a)) (cbrt (fma c b a)))) (* (cbrt (fma c b a)) (* c i)))
7.0ms
(* (cbrt (fma c b a)) (* c i))

series580.0ms

Counts
4 → 12
Calls
4 calls:
139.0ms
(cbrt (fma c b a))
129.0ms
(cbrt (fma c b a))
80.0ms
(* (- (* (cbrt (fma c b a)) (cbrt (fma c b a)))) (* (cbrt (fma c b a)) (* c i)))
232.0ms
(* (cbrt (fma c b a)) (* c i))

simplify60.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0296680
11143557
25001479

prune451.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0.7b

regimes647.0ms

Accuracy

0% (0.9b remaining)

Error of 1.6b against oracle of 0.7b and baseline of 1.6b

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0238
1318
2418
3418

end0.0ms

sample1.4s

Algorithm
intervals
Results
742.0ms15181×body80valid