Details

Time bar (total: 1.5s)

sample26.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
5.0ms256×pre80true

simplify63.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1487
21047
31967
43597
56867
613437
750017

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 24.1b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(* (- x y) (+ x y))
23.8b
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
10×add-exp-log add-cbrt-cube
frac-times flip3-+ flip-+ associate-/l/
add-cube-cbrt
flip3-- flip--
pow1 associate-*l* add-log-exp
associate-*r/ associate-*r* associate-*l/
times-frac associate-/r*
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod
+-commutative distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num sum-log *-commutative div-inv distribute-lft-out associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 73
Calls
3 calls:
3.0ms
(+ (* x x) (* y y))
8.0ms
(* (- x y) (+ x y))
11.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series128.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0419577
12448504
25003497

prune153.0ms

Filtered
82 candidates to 62 candidates (75.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New78482
Fresh000
Picked101
Done000
Total79483

Merged error: 0.3b

Counts
83 → 4

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune4.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New000
Fresh033
Picked011
Done000
Total044

Merged error: 0.3b

Counts
4 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(* (- x y) x)
0.0b
(* (- x y) y)
23.8b
(/ (+ (* (- x y) x) (* (- x y) y)) (+ (* x x) (* y y)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
21×*-un-lft-identity
17×add-cube-cbrt
12×times-frac associate-*l/
10×add-exp-log associate-*l* add-cbrt-cube
pow1
flip3-- associate-*r* flip-- associate-/l/ add-log-exp
frac-add distribute-lft-out associate-/l*
flip3-+ associate-/r* flip-+
pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
4 → 94
Calls
4 calls:
4.0ms
(+ (* x x) (* y y))
9.0ms
(* (- x y) x)
6.0ms
(* (- x y) y)
12.0ms
(/ (+ (* (- x y) x) (* (- x y) y)) (+ (* x x) (* y y)))

series146.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (* x x) (* y y))
34.0ms
(* (- x y) x)
38.0ms
(* (- x y) y)
49.0ms
(/ (+ (* (- x y) x) (* (- x y) y)) (+ (* x x) (* y y)))

simplify59.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0418798
12016705
25001699

prune187.0ms

Filtered
106 candidates to 79 candidates (74.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1060106
Fresh022
Picked011
Done011
Total1064110

Merged error: 0.3b

Counts
110 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- x y) (+ x y))
22.7b
(sqrt (+ (* x x) (* y y)))
22.7b
(sqrt (+ (* x x) (* y y)))
22.8b
(/ (* (- x y) (+ x y)) (sqrt (+ (* x x) (* y y))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×*-un-lft-identity
12×add-cube-cbrt sqrt-prod
11×add-exp-log add-cbrt-cube
flip3-+ flip-+
pow1 frac-times associate-/l/
flip3-- times-frac sqrt-div associate-/r* flip--
associate-*l*
associate-*r/ associate-*r* associate-*l/ add-log-exp
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp prod-exp associate-/r/ cbrt-unprod
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv distribute-lft-out associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 98
Calls
4 calls:
8.0ms
(* (- x y) (+ x y))
3.0ms
(sqrt (+ (* x x) (* y y)))
3.0ms
(sqrt (+ (* x x) (* y y)))
17.0ms
(/ (* (- x y) (+ x y)) (sqrt (+ (* x x) (* y y))))

series193.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (- x y) (+ x y))
34.0ms
(sqrt (+ (* x x) (* y y)))
34.0ms
(sqrt (+ (* x x) (* y y)))
81.0ms
(/ (* (- x y) (+ x y)) (sqrt (+ (* x x) (* y y))))

simplify63.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0429796
12316732
25001725

prune218.0ms

Filtered
110 candidates to 84 candidates (76.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1100110
Fresh011
Picked011
Done022
Total1104114

Merged error: 0.3b

Counts
114 → 4

regimes74.0ms

bsearch2.0ms

Profiling

Loading profile data...