Details

Time bar (total: 2.6s)

sample32.0ms

Algorithm
intervals
Results
22.0ms463×body80valid

simplify271.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
0137
1236
2354
3454
4544
5874
61564
72064
82194
93144
106444
1131974
1250014

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 3 (* y y)) (* x x))
0.2b
(* 3 (* y y))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*r* sum-log *-commutative flip-+ unswap-sqr
Counts
2 → 30
Calls
2 calls:
6.0ms
(+ (* 3 (* y y)) (* x x))
6.0ms
(* 3 (* y y))

series59.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(+ (* 3 (* y y)) (* x x))
23.0ms
(* 3 (* y y))

simplify75.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0164163
1658146
22429139
35003139

prune68.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* (* 3 y) y) (* x x))
0.2b
(* (* 3 y) y)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*l* sum-log *-commutative flip-+
Counts
2 → 29
Calls
2 calls:
7.0ms
(+ (* (* 3 y) y) (* x x))
6.0ms
(* (* 3 y) y)

series61.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(+ (* (* 3 y) y) (* x x))
28.0ms
(* (* 3 y) y)

simplify132.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (129.0ms)

IterNodesCost
0173161
1854144
24082139
35001138

prune61.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(+ (+ (* x x) (* y y)) (* y y))
0.2b
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
10×sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+
Counts
3 → 38
Calls
3 calls:
2.0ms
(+ (* x x) (* y y))
12.0ms
(+ (+ (* x x) (* y y)) (* y y))
46.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series99.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* x x) (* y y))
34.0ms
(+ (+ (* x x) (* y y)) (* y y))
39.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify128.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (123.0ms)

IterNodesCost
0218352
11048312
24094291
35002280

prune98.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* y y))) (* x x))
0.2b
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* y y)))
0.3b
(* (cbrt 3) (* y y))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
29×pow1 add-exp-log
18×pow-prod-down prod-exp cbrt-unprod
17×add-cbrt-cube
add-sqr-sqrt associate-*l*
add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-prod
associate-*r* *-commutative unswap-sqr
+-commutative flip3-+ sum-log flip-+
Counts
3 → 62
Calls
3 calls:
27.0ms
(+ (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* y y))) (* x x))
27.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* y y)))
13.0ms
(* (cbrt 3) (* y y))

series219.0ms

Counts
3 → 9
Calls
3 calls:
82.0ms
(+ (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* y y))) (* x x))
87.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* y y)))
49.0ms
(* (cbrt 3) (* y y))

simplify41.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0263558
11076425
25001366

prune116.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes95.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
0104
1104

end0.0ms

sample867.0ms

Algorithm
intervals
Results
643.0ms14325×body80valid