Details

Time bar (total: 9.3s)

sample68.0ms

Algorithm
intervals
Results
38.0ms480×body80valid

simplify103.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
0339
1879
22608
38728
424368
549578
650018

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.8b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 2.0 (* (- (fma c b a)) (* c i)))
0.0b
(fma x y (* z t))
0.0b
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
5.2b
(* (- (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:
17.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
0.0ms
(fma x y (* z t))
0.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
8.0ms
(* (- (fma c b a)) (* c i))

series850.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
38.0ms
(fma x y (* z t))
680.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
62.0ms
(* (- (fma c b a)) (* c i))

simplify47.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0284526
11170437
25002427

prune326.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.8b

localize16.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.2b
(* (- (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))

series854.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(fma t z (* x y))
69.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
683.0ms
(fma 2.0 (fma t z (* x y)) (* 2.0 (* (- (fma c b a)) (* c i))))
64.0ms
(* (- (fma c b a)) (* c i))

simplify46.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0282526
11164437
25001427

prune322.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.8b

localize18.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.2b
(* (- (fma c b a)) (* c i))

rewrite84.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)))
53.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
8.0ms
(* (- (fma c b a)) (* c i))

series1.7s

Counts
4 → 12
Calls
4 calls:
1.0s
(fma 2.0 (fma t z (* x y)) (* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
161.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
479.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
62.0ms
(* (- (fma c b a)) (* c i))

simplify64.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0390870
11706708
25001674

prune389.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.8b

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))
0.3b
(* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) (* (- (fma c b a)) (* c i))))
0.4b
(* (sqrt 2.0) (* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))))
5.2b
(* (- (fma c b a)) (* c i))

rewrite274.0ms

Algorithm
rewrite-expression-head
Rules
92×pow1 add-exp-log
66×pow-prod-down prod-exp cbrt-unprod
61×add-cbrt-cube
26×associate-*l*
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-prod sqrt-prod distribute-rgt-neg-out
distribute-lft-neg-out expm1-log1p-u associate-*r* *-commutative log1p-expm1-u add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in
neg-mul-1
Counts
4 → 140
Calls
4 calls:
19.0ms
(* (cbrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))
61.0ms
(* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) (* (- (fma c b a)) (* c i))))
179.0ms
(* (sqrt 2.0) (* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))))
8.0ms
(* (- (fma c b a)) (* c i))

series952.0ms

Counts
4 → 12
Calls
4 calls:
442.0ms
(* (cbrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))
163.0ms
(* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) (* (- (fma c b a)) (* c i))))
288.0ms
(* (sqrt 2.0) (* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))))
59.0ms
(* (- (fma c b a)) (* c i))

simplify87.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
05291951
126121378
250011205

prune479.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.7b

regimes604.0ms

Accuracy

0% (1.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03018
13818
25618
36718
47218
57218

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.2s15280×body80valid