Details

Time bar (total: 3.4s)

sample17.0ms

Algorithm
intervals
Results
9.0ms256×body80valid

simplify129.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0319
1599
2909
31167
41307
51487
61887
72647
83047
93777
105807
118517
1214027
1327877
1431687
1543217
1650017

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (- x) 0.70711 (/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0)))
0.1b
(fma x (fma 0.04481 x 0.99229) 1.0)
0.1b
(* 0.70711 (fma 0.27061 x 2.30753))
15.5b
(/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
11×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
expm1-log1p-u fma-udef log1p-expm1-u add-log-exp
times-frac associate-*r* associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 65
Calls
4 calls:
0.0ms
(fma (- x) 0.70711 (/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0)))
0.0ms
(fma x (fma 0.04481 x 0.99229) 1.0)
3.0ms
(* 0.70711 (fma 0.27061 x 2.30753))
4.0ms
(/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0))

series221.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(fma (- x) 0.70711 (/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0)))
25.0ms
(fma x (fma 0.04481 x 0.99229) 1.0)
50.0ms
(* 0.70711 (fma 0.27061 x 2.30753))
70.0ms
(/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0))

simplify40.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0272452
11121382
25002382

prune224.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (- x) 0.70711 (* 0.70711 (/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0))))
0.1b
(fma x (fma 0.04481 x 0.99229) 1.0)
0.2b
(* 0.70711 (/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0)))
15.4b
(/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity
19×times-frac
13×associate-*r*
11×add-exp-log add-cbrt-cube
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l* associate-/r* associate-/l*
cbrt-undiv div-exp prod-exp cbrt-unprod fma-udef div-inv unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
4 → 83
Calls
4 calls:
0.0ms
(fma (- x) 0.70711 (* 0.70711 (/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0))))
0.0ms
(fma x (fma 0.04481 x 0.99229) 1.0)
7.0ms
(* 0.70711 (/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0)))
2.0ms
(/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0))

series231.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(fma (- x) 0.70711 (* 0.70711 (/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0))))
29.0ms
(fma x (fma 0.04481 x 0.99229) 1.0)
67.0ms
(* 0.70711 (/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0)))
63.0ms
(/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0))

simplify43.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0338694
11313613
25001613

prune266.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma x (fma 0.04481 x 0.99229) 1.0)
0.1b
(* (sqrt 0.70711) (/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0)))
0.2b
(* (sqrt 0.70711) (* (sqrt 0.70711) (/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0))))
15.4b
(/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
23×add-cube-cbrt *-un-lft-identity
20×add-exp-log times-frac add-cbrt-cube
14×associate-*r*
12×associate-*l*
11×pow1
sqrt-prod
prod-exp cbrt-unprod
expm1-log1p-u pow-prod-down log1p-expm1-u add-log-exp unswap-sqr
cbrt-undiv associate-*r/ div-exp associate-/r* associate-/l*
*-commutative div-inv
frac-2neg clear-num fma-udef
Counts
4 → 104
Calls
4 calls:
0.0ms
(fma x (fma 0.04481 x 0.99229) 1.0)
9.0ms
(* (sqrt 0.70711) (/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0)))
14.0ms
(* (sqrt 0.70711) (* (sqrt 0.70711) (/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0))))
2.0ms
(/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0))

series338.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(fma x (fma 0.04481 x 0.99229) 1.0)
106.0ms
(* (sqrt 0.70711) (/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0)))
145.0ms
(* (sqrt 0.70711) (* (sqrt 0.70711) (/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0))))
63.0ms
(/ (fma 0.27061 x 2.30753) (fma x (fma 0.04481 x 0.99229) 1.0))

simplify59.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0423960
11922820
25001813

prune350.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (cbrt (fma (- x) 0.70711 (/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0)))) (cbrt (fma (- x) 0.70711 (/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0)))))
15.5b
(/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0))
15.5b
(/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0))
15.5b
(/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×add-exp-log
19×add-cbrt-cube
18×add-cube-cbrt *-un-lft-identity
16×cbrt-prod
11×pow1
times-frac associate-/r*
cbrt-undiv pow1/3 swap-sqr div-exp associate-*r* associate-*l*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
frac-2neg clear-num div-inv associate-/l*
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus *-commutative
Counts
4 → 111
Calls
4 calls:
5.0ms
(* (cbrt (fma (- x) 0.70711 (/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0)))) (cbrt (fma (- x) 0.70711 (/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0)))))
4.0ms
(/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0))
4.0ms
(/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0))
4.0ms
(/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0))

series444.0ms

Counts
4 → 12
Calls
4 calls:
221.0ms
(* (cbrt (fma (- x) 0.70711 (/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0)))) (cbrt (fma (- x) 0.70711 (/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0)))))
76.0ms
(/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0))
74.0ms
(/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0))
72.0ms
(/ (* 0.70711 (fma 0.27061 x 2.30753)) (fma x (fma 0.04481 x 0.99229) 1.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03681486
115021307
250021204

prune415.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes17.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01810
11810

end0.0ms

sample381.0ms

Algorithm
intervals
Results
289.0ms8000×body80valid