Details

Time bar (total: 4.8s)

sample313.0ms

Algorithm
intervals
Results
24.0ms54×body1280valid
13.0ms45×body640valid
9.0ms132×body80valid
5.0ms256×pre80true
4.0ms21×body320valid
1.0msbody160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0146
1205
2235
3245
4245

prune10.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (* e (sin v)) (+ 1.0 (* e (cos v))))
0.1b
(* e (cos v))
0.2b
(* e (sin v))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity
pow1
associate-*r* associate-*l*
expm1-log1p-u times-frac prod-exp associate-/r* cbrt-unprod log1p-expm1-u add-log-exp
cbrt-undiv div-exp pow-prod-down associate-/r/ *-commutative unswap-sqr
frac-2neg flip3-+ clear-num flip-+ div-inv associate-/l*
Counts
3 → 65
Calls
3 calls:
6.0ms
(/ (* e (sin v)) (+ 1.0 (* e (cos v))))
20.0ms
(* e (cos v))
7.0ms
(* e (sin v))

series176.0ms

Counts
3 → 9
Calls
3 calls:
91.0ms
(/ (* e (sin v)) (+ 1.0 (* e (cos v))))
37.0ms
(* e (cos v))
48.0ms
(* e (sin v))

simplify49.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0303422
11415368
25001362

prune151.0ms

Filtered
74 candidates to 54 candidates (73.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New68674
Fresh101
Picked011
Done000
Total69776

Merged error: 0.0b

Counts
76 → 7

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(* e (cos v))
0.1b
(/ (+ 1.0 (* e (cos v))) (sin v))
0.2b
(/ e (/ (+ 1.0 (* e (cos v))) (sin v)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
57×add-sqr-sqrt
55×add-cube-cbrt *-un-lft-identity
16×associate-/r*
12×add-exp-log add-cbrt-cube
div-inv associate-/l*
pow1
cbrt-undiv div-exp
expm1-log1p-u associate-*r* associate-*l* log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/l/
flip3-+ pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
3 → 123
Calls
3 calls:
4.0ms
(* e (cos v))
5.0ms
(/ (+ 1.0 (* e (cos v))) (sin v))
7.0ms
(/ e (/ (+ 1.0 (* e (cos v))) (sin v)))

series191.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(* e (cos v))
69.0ms
(/ (+ 1.0 (* e (cos v))) (sin v))
87.0ms
(/ e (/ (+ 1.0 (* e (cos v))) (sin v)))

simplify73.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05301326
123771222
250011212

prune304.0ms

Filtered
132 candidates to 109 candidates (82.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1275132
Fresh235
Picked101
Done011
Total1309139

Merged error: 0.0b

Counts
139 → 9

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (* (sqrt e) (sin v)) (fma (cos v) e 1.0))
0.3b
(* (sqrt e) (/ (* (sqrt e) (sin v)) (fma (cos v) e 1.0)))
0.3b
(* (sqrt e) (sin v))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
19×add-exp-log add-cbrt-cube
12×add-cube-cbrt *-un-lft-identity associate-*l*
10×associate-*r*
sqrt-prod
pow1
times-frac prod-exp cbrt-unprod
cbrt-undiv div-exp unswap-sqr
expm1-log1p-u associate-/r* log1p-expm1-u add-log-exp
pow-prod-down *-commutative div-inv
frac-2neg associate-*r/ clear-num associate-/l*
Counts
3 → 80
Calls
3 calls:
6.0ms
(/ (* (sqrt e) (sin v)) (fma (cos v) e 1.0))
9.0ms
(* (sqrt e) (/ (* (sqrt e) (sin v)) (fma (cos v) e 1.0)))
5.0ms
(* (sqrt e) (sin v))

series302.0ms

Counts
3 → 9
Calls
3 calls:
131.0ms
(/ (* (sqrt e) (sin v)) (fma (cos v) e 1.0))
97.0ms
(* (sqrt e) (/ (* (sqrt e) (sin v)) (fma (cos v) e 1.0)))
73.0ms
(* (sqrt e) (sin v))

simplify61.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0454874
12163732
25002716

prune211.0ms

Filtered
89 candidates to 66 candidates (74.2%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New87289
Fresh257
Picked011
Done011
Total89998

Merged error: 0b

Counts
98 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt e))
0.3b
(* (sqrt (sqrt e)) (/ (* (sqrt e) (sin v)) (fma (cos v) e 1.0)))
0.3b
(* (sqrt e) (sin v))
0.3b
(* (sqrt (sqrt e)) (* (sqrt (sqrt e)) (/ (* (sqrt e) (sin v)) (fma (cos v) e 1.0))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
35×sqrt-prod
29×add-exp-log add-sqr-sqrt add-cbrt-cube
24×associate-*l*
17×add-cube-cbrt *-un-lft-identity
15×pow1
13×prod-exp cbrt-unprod
11×associate-*r*
pow-prod-down unswap-sqr
cbrt-undiv expm1-log1p-u sqrt-pow1 div-exp log1p-expm1-u add-log-exp
times-frac associate-*r/ *-commutative
rem-sqrt-square pow1/2
div-inv
Counts
4 → 113
Calls
4 calls:
2.0ms
(sqrt (sqrt e))
11.0ms
(* (sqrt (sqrt e)) (/ (* (sqrt e) (sin v)) (fma (cos v) e 1.0)))
5.0ms
(* (sqrt e) (sin v))
13.0ms
(* (sqrt (sqrt e)) (* (sqrt (sqrt e)) (/ (* (sqrt e) (sin v)) (fma (cos v) e 1.0))))

series474.0ms

Counts
4 → 12
Calls
4 calls:
134.0ms
(sqrt (sqrt e))
173.0ms
(* (sqrt (sqrt e)) (/ (* (sqrt e) (sin v)) (fma (cos v) e 1.0)))
71.0ms
(* (sqrt e) (sin v))
96.0ms
(* (sqrt (sqrt e)) (* (sqrt (sqrt e)) (/ (* (sqrt e) (sin v)) (fma (cos v) e 1.0))))

simplify97.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
07961302
137561087
250031033

prune301.0ms

Filtered
125 candidates to 86 candidates (68.8%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1241125
Fresh156
Picked011
Done022
Total1259134

Merged error: 0b

Counts
134 → 9

regimes115.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0126
1126

end0.0ms

sample1.8s

Algorithm
intervals
Results
662.0ms1460×body1280valid
378.0ms1267×body640valid
258.0ms4317×body80valid
143.0ms8000×pre80true
122.0ms627×body320valid
44.0ms329×body160valid

Profiling

Loading profile data...