Details

Time bar (total: 1.3s)

analyze96.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%74.9%0.1%6
56.2%43.7%0.1%7
56.2%43.7%0.1%8
76.5%23.4%0.1%9
76.5%23.4%0.1%10
87.8%12.1%0.1%11
87.8%12.1%0.1%12
93.8%6.1%0.1%13
93.8%6.1%0.1%14

sample13.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0369
1369

prune4.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 15.8b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

15.3b
(/ (+ x y) (* (* x 2.0) y))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
*-un-lft-identity
times-frac associate-/l*
cbrt-undiv add-sqr-sqrt add-cube-cbrt div-exp prod-exp cbrt-unprod
associate-/l/ distribute-lft-out
pow1 frac-2neg flip3-+ clear-num associate-/r* flip-+ div-inv add-log-exp
Counts
1 → 27
Calls
1 calls:
7.0ms
(/ (+ x y) (* (* x 2.0) y))

series7.0ms

Counts
1 → 3
Calls
1 calls:
7.0ms
(/ (+ x y) (* (* x 2.0) y))

simplify27.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
05438314

prune40.0ms

Filtered
19 candidates to 30 candidates (-57.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New27330
Fresh000
Picked011
Done000
Total27431

Merged error: 0b

Counts
31 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ x y) y)
5.8b
(* (/ 1 (* x 2.0)) (/ (+ x y) y))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
49×add-exp-log
35×*-un-lft-identity
28×times-frac
26×add-sqr-sqrt
25×add-cbrt-cube
21×add-cube-cbrt
20×prod-exp
16×div-exp associate-*r*
cbrt-undiv cbrt-unprod
associate-*l* distribute-lft-out
pow1 rec-exp 1-exp associate-/l*
associate-/r* div-inv
associate-/l/ add-log-exp unswap-sqr
frac-times frac-2neg flip3-+ associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative flip-+
Counts
2 → 90
Calls
2 calls:
5.0ms
(/ (+ x y) y)
13.0ms
(* (/ 1 (* x 2.0)) (/ (+ x y) y))

series11.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(/ (+ x y) y)
7.0ms
(* (/ 1 (* x 2.0)) (/ (+ x y) y))

simplify56.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04974929
14974929

prune69.0ms

Filtered
57 candidates to 96 candidates (-68.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New95196
Fresh112
Picked101
Done011
Total973100

Merged error: 0b

Counts
100 → 3

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ x y) y)
5.7b
(/ (/ (+ x y) y) (* x 2.0))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
52×times-frac
47×*-un-lft-identity
27×add-sqr-sqrt add-cube-cbrt
20×associate-/l*
16×add-exp-log add-cbrt-cube
10×distribute-lft-out
cbrt-undiv div-exp
associate-/r* div-inv
associate-/l/
pow1 frac-2neg prod-exp clear-num cbrt-unprod add-log-exp
flip3-+ flip-+
Counts
2 → 85
Calls
2 calls:
5.0ms
(/ (+ x y) y)
8.0ms
(/ (/ (+ x y) y) (* x 2.0))

series11.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(/ (+ x y) y)
7.0ms
(/ (/ (+ x y) y) (* x 2.0))

simplify55.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
05175943

prune63.0ms

Filtered
61 candidates to 91 candidates (-49.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New91091
Fresh011
Picked011
Done011
Total91394

Merged error: 0b

Counts
94 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (/ (+ x y) 2.0))
0.0b
(/ 1 (* y (/ x (/ (+ x y) 2.0))))
6.0b
(* y (/ x (/ (+ x y) 2.0)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
186×times-frac
138×*-un-lft-identity
105×add-sqr-sqrt
96×add-cube-cbrt
53×associate-*r*
51×add-exp-log
31×add-cbrt-cube
23×div-exp
21×distribute-lft-out
17×associate-/r*
13×cbrt-undiv
12×prod-exp
10×div-inv
pow1
cbrt-unprod associate-/l*
rec-exp 1-exp
associate-*l* associate-/r/ add-log-exp unswap-sqr
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num
*-commutative inv-pow
Counts
3 → 194
Calls
3 calls:
7.0ms
(/ x (/ (+ x y) 2.0))
11.0ms
(/ 1 (* y (/ x (/ (+ x y) 2.0))))
17.0ms
(* y (/ x (/ (+ x y) 2.0)))

series21.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(/ x (/ (+ x y) 2.0))
7.0ms
(/ 1 (* y (/ x (/ (+ x y) 2.0))))
8.0ms
(* y (/ x (/ (+ x y) 2.0)))

simplify62.0ms

Algorithm
egg-herbie
Counts
203 → 203
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049662291
149662291

prune174.0ms

Filtered
135 candidates to 203 candidates (-50.4%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2030203
Fresh000
Picked011
Done022
Total2033206

Merged error: 0b

Counts
206 → 3

regimes148.0ms

Accuracy

98.4% (0.1b remaining)

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

bsearch22.0ms

Steps
ItersRangePoint
8
1.2954673201188848e+36
9.57782177393763e+39
2.291406381019822e+37
9
-1.9987759835017622e+30
-8.637557325202369e+24
-1.667320367462466e+26

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02529
12529

end0.0ms

sample328.0ms

Algorithm
intervals
Results
211.0ms8000×body80valid

Profiling

Loading profile data...