Details

Time bar (total: 2.1m)

sample20.0ms

Algorithm
intervals
Results
9.0ms268×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1407
2567
3767
4907
5947
6947

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.9b

Counts
2 → 1

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.7b
(- (* b c) (* a d))
24.5b
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
340×*-un-lft-identity
276×add-sqr-sqrt
170×associate-*l*
144×prod-diff
104×add-cube-cbrt
88×times-frac
78×associate-*r*
66×unswap-sqr
65×distribute-lft-out
40×distribute-lft-out-- difference-of-squares
29×swap-sqr
26×*-commutative
15×fma-def
12×fma-neg
11×associate-/l*
associate-/r*
add-log-exp
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg diff-log div-sub div-exp clear-num sum-log div-inv
Counts
3 → 337
Calls
3 calls:
19.0ms
(+ (* c c) (* d d))
17.0ms
(- (* b c) (* a d))
41.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

series164.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(+ (* c c) (* d d))
40.0ms
(- (* b c) (* a d))
92.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

simplify103.0ms

Algorithm
egg-herbie
Counts
346 → 346
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
08104080
126773154
250012993

prune407.0ms

Filtered
346 candidates to 112 candidates (32.4%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New3379346
Fresh000
Picked011
Done000
Total33710347

Merged error: 11.0b

Counts
347 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (/ (hypot c d) 1))
0.2b
(* (/ 1 (/ (hypot c d) 1)) (/ (- (* b c) (* a d)) (* (hypot c d) 1)))
0.7b
(- (* b c) (* a d))
14.9b
(/ (- (* b c) (* a d)) (* (hypot c d) 1))

rewrite324.0ms

Algorithm
rewrite-expression-head
Rules
1448×add-sqr-sqrt
1042×*-un-lft-identity
761×times-frac
682×associate-/r*
577×add-cube-cbrt
551×frac-times
452×associate-*l*
351×associate-*r* unswap-sqr
340×associate-/l*
196×distribute-lft-out--
192×difference-of-squares
170×add-exp-log
144×prod-diff
93×div-exp
69×*-commutative
62×prod-exp
56×clear-num
54×frac-2neg
50×add-cbrt-cube
42×associate-/l/
41×1-exp div-inv
29×associate-*r/
22×flip3-- associate-/r/ flip--
20×cbrt-undiv
19×associate-*l/
15×rec-exp
13×cbrt-unprod
12×fma-neg
pow1
un-div-inv add-log-exp
expm1-log1p-u log1p-expm1-u
remove-double-div
sub-neg pow-flip diff-log div-sub pow-prod-down inv-pow
Counts
4 → 1352
Calls
4 calls:
7.0ms
(/ 1 (/ (hypot c d) 1))
153.0ms
(* (/ 1 (/ (hypot c d) 1)) (/ (- (* b c) (* a d)) (* (hypot c d) 1)))
18.0ms
(- (* b c) (* a d))
35.0ms
(/ (- (* b c) (* a d)) (* (hypot c d) 1))

series413.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(/ 1 (/ (hypot c d) 1))
191.0ms
(* (/ 1 (/ (hypot c d) 1)) (/ (- (* b c) (* a d)) (* (hypot c d) 1)))
39.0ms
(- (* b c) (* a d))
121.0ms
(/ (- (* b c) (* a d)) (* (hypot c d) 1))

simplify197.0ms

Algorithm
egg-herbie
Counts
1364 → 1364
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
0500117154

prune2.5s

Filtered
1364 candidates to 583 candidates (42.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New136041364
Fresh718
Picked101
Done011
Total136861374

Merged error: 0.1b

Counts
1374 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ b (/ (hypot c d) c)) (/ a (/ (hypot c d) d)))
0.2b
(* (/ 1 (/ (hypot c d) 1)) (- (/ b (/ (hypot c d) c)) (/ a (/ (hypot c d) d))))
2.4b
(/ b (/ (hypot c d) c))
3.6b
(/ a (/ (hypot c d) d))

rewrite3.4s

Algorithm
rewrite-expression-head
Rules
31410×times-frac
21104×add-sqr-sqrt
21056×*-un-lft-identity
21011×add-cube-cbrt
16080×associate-/r*
8112×prod-diff
7581×frac-sub
6897×frac-times
4441×associate-/l*
2845×associate-/r/
2706×distribute-rgt-in distribute-lft-in
2432×div-inv
1480×frac-2neg clear-num
363×associate-*r/
52×fma-neg associate-*l*
40×add-exp-log
23×add-cbrt-cube
21×flip3-- flip--
19×associate-*l/
18×div-exp associate-*r* difference-of-squares
12×distribute-lft-out--
10×prod-exp
cbrt-undiv
unswap-sqr
pow1 1-exp add-log-exp
expm1-log1p-u log1p-expm1-u
sub-neg rec-exp cbrt-unprod
diff-log pow-prod-down *-commutative
Counts
4 → 16099
Calls
4 calls:
186.0ms
(- (/ b (/ (hypot c d) c)) (/ a (/ (hypot c d) d)))
547.0ms
(* (/ 1 (/ (hypot c d) 1)) (- (/ b (/ (hypot c d) c)) (/ a (/ (hypot c d) d))))
7.0ms
(/ b (/ (hypot c d) c))
7.0ms
(/ a (/ (hypot c d) d))

series620.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(- (/ b (/ (hypot c d) c)) (/ a (/ (hypot c d) d)))
293.0ms
(* (/ 1 (/ (hypot c d) 1)) (- (/ b (/ (hypot c d) c)) (/ a (/ (hypot c d) d))))
69.0ms
(/ b (/ (hypot c d) c))
74.0ms
(/ a (/ (hypot c d) d))

simplify5.5s

Algorithm
egg-herbie
Counts
16111 → 16111
Iterations

Useful iterations: 0 (269.0ms)

IterNodesCost
019802648277

prune1.3m

Filtered
16111 candidates to 14677 candidates (91.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New16107416111
Fresh224
Picked101
Done101
Total16111616117

Merged error: 0b

Counts
16117 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ b (/ (hypot c d) c)) (/ a (/ (hypot c d) d)))
0.1b
(/ (* (/ 1 1) (- (/ b (/ (hypot c d) c)) (/ a (/ (hypot c d) d)))) (/ (hypot c d) 1))
2.4b
(/ b (/ (hypot c d) c))
3.6b
(/ a (/ (hypot c d) d))

rewrite1.9s

Algorithm
rewrite-expression-head
Rules
12445×times-frac
9181×add-sqr-sqrt
8857×*-un-lft-identity
8501×add-cube-cbrt
6889×associate-/r*
3971×frac-sub
3639×associate-/l/
3267×frac-times
2717×associate-/l*
2704×prod-diff
972×associate-/r/
935×div-inv
893×frac-2neg clear-num
363×associate-*r/
252×associate-*r*
182×associate-*l*
135×difference-of-squares
90×distribute-lft-out--
88×add-exp-log
70×unswap-sqr
58×div-exp
52×fma-neg
35×add-cbrt-cube
23×1-exp
21×prod-exp
17×cbrt-undiv
14×*-commutative
11×flip3-- flip--
associate-*l/
rec-exp add-log-exp
pow1 expm1-log1p-u cbrt-unprod log1p-expm1-u
sub-neg diff-log
Counts
4 → 7583
Calls
4 calls:
177.0ms
(- (/ b (/ (hypot c d) c)) (/ a (/ (hypot c d) d)))
761.0ms
(/ (* (/ 1 1) (- (/ b (/ (hypot c d) c)) (/ a (/ (hypot c d) d)))) (/ (hypot c d) 1))
8.0ms
(/ b (/ (hypot c d) c))
8.0ms
(/ a (/ (hypot c d) d))

series557.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(- (/ b (/ (hypot c d) c)) (/ a (/ (hypot c d) d)))
229.0ms
(/ (* (/ 1 1) (- (/ b (/ (hypot c d) c)) (/ a (/ (hypot c d) d)))) (/ (hypot c d) 1))
70.0ms
(/ b (/ (hypot c d) c))
73.0ms
(/ a (/ (hypot c d) d))

simplify1.9s

Algorithm
egg-herbie
Counts
7595 → 7595
Iterations

Useful iterations: 0 (81.0ms)

IterNodesCost
09211187167

prune29.1s

Filtered
7595 candidates to 5848 candidates (77.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New759417595
Fresh235
Picked011
Done000
Total759657601

Merged error: 0b

Counts
7601 → 5

regimes112.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01811
12011
22011

end0.0ms

sample498.0ms

Algorithm
intervals
Results
293.0ms8500×body80valid