Details

Time bar (total: 4.0s)

sample24.0ms

Algorithm
intervals
Results
11.0ms271×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1407
2567
3767
4907
5947
6947

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.7b

localize10.0ms

Local error

Found 2 expressions with local error:

0.5b
(- (* b c) (* a d))
28.2b
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ fma-neg diff-log div-sub div-exp prod-diff clear-num flip-+ div-inv
Counts
2 → 50
Calls
2 calls:
9.0ms
(- (* b c) (* a d))
28.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

series119.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(- (* b c) (* a d))
81.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

simplify104.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0268481
11010432
23840422
35001421

prune145.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 14.6b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (* (hypot c d) 1))
0.3b
(* (/ 1 (* (hypot c d) 1)) (/ (- (* b c) (* a d)) (hypot c d)))
0.5b
(- (* b c) (* a d))
18.3b
(/ (- (* b c) (* a d)) (hypot c d))

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
83×add-exp-log
38×prod-exp
32×add-cbrt-cube
29×div-exp
28×add-sqr-sqrt
25×times-frac
23×add-cube-cbrt *-un-lft-identity
18×1-exp
13×associate-*r*
10×cbrt-undiv
pow1 rec-exp cbrt-unprod
associate-*l*
associate-/l* add-log-exp
expm1-log1p-u associate-/r* log1p-expm1-u div-inv
flip3-- pow-flip frac-2neg pow-prod-down clear-num flip-- associate-/l/ unswap-sqr
frac-times sub-neg fma-neg diff-log div-sub associate-*r/ prod-diff associate-*l/ *-commutative inv-pow
Counts
4 → 143
Calls
4 calls:
12.0ms
(/ 1 (* (hypot c d) 1))
57.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (- (* b c) (* a d)) (hypot c d)))
9.0ms
(- (* b c) (* a d))
20.0ms
(/ (- (* b c) (* a d)) (hypot c d))

series356.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(/ 1 (* (hypot c d) 1))
165.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (- (* b c) (* a d)) (hypot c d)))
38.0ms
(- (* b c) (* a d))
107.0ms
(/ (- (* b c) (* a d)) (hypot c d))

simplify61.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05531207
123041003
25001995

prune313.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.6b

localize9.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (/ (- (* b c) (* a d)) (hypot c d)) (hypot c d))
0.5b
(- (* b c) (* a d))
18.3b
(/ (- (* b c) (* a d)) (hypot c d))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
53×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×associate-/l*
10×add-exp-log add-cbrt-cube
associate-/r* div-inv
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u div-sub log1p-expm1-u associate-/l/
flip3-- frac-2neg clear-num flip--
sub-neg fma-neg diff-log prod-diff
Counts
3 → 121
Calls
3 calls:
21.0ms
(/ (/ (- (* b c) (* a d)) (hypot c d)) (hypot c d))
9.0ms
(- (* b c) (* a d))
23.0ms
(/ (- (* b c) (* a d)) (hypot c d))

series253.0ms

Counts
3 → 9
Calls
3 calls:
109.0ms
(/ (/ (- (* b c) (* a d)) (hypot c d)) (hypot c d))
37.0ms
(- (* b c) (* a d))
107.0ms
(/ (- (* b c) (* a d)) (hypot c d))

simplify51.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04491408
116571307
250011298

prune320.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 5.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (* b c) (hypot c d)) (/ (* a d) (hypot c d)))
0.3b
(* (/ 1 (* (hypot c d) 1)) (- (/ (* b c) (hypot c d)) (/ (* a d) (hypot c d))))
9.4b
(/ (* b c) (hypot c d))
11.2b
(/ (* a d) (hypot c d))

rewrite163.0ms

Algorithm
rewrite-expression-head
Rules
147×prod-diff
138×times-frac
103×add-sqr-sqrt
101×*-un-lft-identity
97×add-cube-cbrt
51×distribute-rgt-in distribute-lft-in
50×div-inv
40×add-exp-log
23×add-cbrt-cube
18×prod-exp
10×div-exp
fma-neg associate-*l*
pow1 cbrt-undiv 1-exp associate-*r* associate-/r* cbrt-unprod add-log-exp
expm1-log1p-u frac-times associate-*r/ log1p-expm1-u
sub-neg rec-exp flip3-- frac-sub flip-- sub-div
distribute-rgt-out-- frac-2neg clear-num associate-/l* distribute-lft-out-- difference-of-squares
diff-log pow-prod-down associate-*l/ *-commutative unswap-sqr
Counts
4 → 270
Calls
4 calls:
23.0ms
(- (/ (* b c) (hypot c d)) (/ (* a d) (hypot c d)))
105.0ms
(* (/ 1 (* (hypot c d) 1)) (- (/ (* b c) (hypot c d)) (/ (* a d) (hypot c d))))
10.0ms
(/ (* b c) (hypot c d))
10.0ms
(/ (* a d) (hypot c d))

series560.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(- (/ (* b c) (hypot c d)) (/ (* a d) (hypot c d)))
264.0ms
(* (/ 1 (* (hypot c d) 1)) (- (/ (* b c) (hypot c d)) (/ (* a d) (hypot c d))))
62.0ms
(/ (* b c) (hypot c d))
64.0ms
(/ (* a d) (hypot c d))

simplify133.0ms

Algorithm
egg-herbie
Counts
282 → 282
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
010766075
148584269
250014268

prune418.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

regimes167.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03333
13733
23733

end0.0ms

sample583.0ms

Algorithm
intervals
Results
275.0ms8475×body80valid