Details

Time bar (total: 5.3s)

sample84.0ms

Algorithm
intervals
Results
67.0ms620×body80valid

simplify80.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
05314
117313
253212
3168112
4427812
5500112

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* a a) (* b b))
0.1b
(fma (* a a) (- 1.0 a) (* (* b b) (+ 3.0 a)))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
1.1b
(* (* b b) (+ 3.0 a))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log
*-un-lft-identity add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
add-log-exp
expm1-log1p-u associate-*r* log1p-expm1-u
unpow-prod-down pow-unpow pow-prod-down prod-exp cbrt-unprod
flip3-+ associate-*r/ flip-+
+-commutative distribute-rgt-in pow-to-exp pow-pow fma-def distribute-lft-in associate-*l* pow-exp sum-log *-commutative fma-udef distribute-lft-out unswap-sqr sqr-pow
Counts
4 → 69
Calls
4 calls:
3.0ms
(+ (* a a) (* b b))
0.0ms
(fma (* a a) (- 1.0 a) (* (* b b) (+ 3.0 a)))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
14.0ms
(* (* b b) (+ 3.0 a))

series208.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (* a a) (* b b))
46.0ms
(fma (* a a) (- 1.0 a) (* (* b b) (+ 3.0 a)))
103.0ms
(pow (+ (* a a) (* b b)) 2.0)
32.0ms
(* (* b b) (+ 3.0 a))

simplify50.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0367434
11856384
25001374

prune263.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* a a) (* b b))
0.1b
(* (* a a) (- 1.0 a))
0.1b
(fma (* b 3.0) b (* (* a a) (- 1.0 a)))
0.3b
(pow (+ (* a a) (* b b)) 2.0)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
21×*-un-lft-identity
19×add-cube-cbrt
18×prod-diff
11×distribute-rgt-in distribute-lft-in
10×pow1 add-exp-log
add-cbrt-cube
add-log-exp
associate-*r*
expm1-log1p-u log1p-expm1-u
unpow-prod-down pow-unpow pow-prod-down prod-exp cbrt-unprod
sub-neg associate-*r/
+-commutative pow-to-exp flip3-- pow-pow fma-def flip3-+ associate-*l* pow-exp sum-log *-commutative flip-- flip-+ fma-udef distribute-lft-out-- difference-of-squares unswap-sqr sqr-pow
Counts
4 → 90
Calls
4 calls:
3.0ms
(+ (* a a) (* b b))
16.0ms
(* (* a a) (- 1.0 a))
0.0ms
(fma (* b 3.0) b (* (* a a) (- 1.0 a)))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)

series227.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (* a a) (* b b))
49.0ms
(* (* a a) (- 1.0 a))
46.0ms
(fma (* b 3.0) b (* (* a a) (- 1.0 a)))
100.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify65.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0476727
12435547
25001538

prune262.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (hypot a b) (hypot a b))
0.1b
(* (* a a) (- 1.0 a))
0.1b
(fma (* b 3.0) b (* (* a a) (- 1.0 a)))
0.3b
(pow (* (hypot a b) (hypot a b)) 2.0)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
24×pow1 *-un-lft-identity
22×add-cube-cbrt
18×prod-diff
14×add-exp-log
11×distribute-rgt-in distribute-lft-in add-cbrt-cube
associate-*r*
hypot-udef pow-pow
pow-prod-down prod-exp
expm1-log1p-u associate-*l* cbrt-unprod log1p-expm1-u add-log-exp
pow-unpow swap-sqr
pow2 sub-neg pow-plus sqrt-unprod associate-*r/ pow-exp pow-sqr *-commutative pow-prod-up unswap-sqr
pow-to-exp unpow-prod-down flip3-- rem-square-sqrt sqrt-pow2 flip-- fma-udef distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 110
Calls
4 calls:
3.0ms
(* (hypot a b) (hypot a b))
16.0ms
(* (* a a) (- 1.0 a))
0.0ms
(fma (* b 3.0) b (* (* a a) (- 1.0 a)))
3.0ms
(pow (* (hypot a b) (hypot a b)) 2.0)

series297.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* (hypot a b) (hypot a b))
55.0ms
(* (* a a) (- 1.0 a))
43.0ms
(fma (* b 3.0) b (* (* a a) (- 1.0 a)))
135.0ms
(pow (* (hypot a b) (hypot a b)) 2.0)

simplify63.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0459757
12167567
25001559

prune262.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot a b)
0.0b
(pow (hypot a b) (* 2 2.0))
0.1b
(* (* a a) (- 1.0 a))
0.1b
(fma (* b 3.0) b (* (* a a) (- 1.0 a)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
20×*-un-lft-identity
18×add-cube-cbrt prod-diff
11×distribute-rgt-in distribute-lft-in
10×pow1 add-exp-log
add-cbrt-cube
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
unpow-prod-down pow-prod-down prod-exp cbrt-unprod
sub-neg hypot-udef associate-*r/
pow-to-exp pow-unpow flip3-- pow-pow associate-*l* pow-exp *-commutative sqrt-pow2 flip-- fma-udef distribute-lft-out-- difference-of-squares unswap-sqr sqr-pow
Counts
4 → 85
Calls
4 calls:
0.0ms
(hypot a b)
1.0ms
(pow (hypot a b) (* 2 2.0))
16.0ms
(* (* a a) (- 1.0 a))
0.0ms
(fma (* b 3.0) b (* (* a a) (- 1.0 a)))

series267.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(hypot a b)
123.0ms
(pow (hypot a b) (* 2 2.0))
54.0ms
(* (* a a) (- 1.0 a))
46.0ms
(fma (* b 3.0) b (* (* a a) (- 1.0 a)))

simplify65.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0405651
12026462
25001403

prune246.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes38.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample2.6s

Algorithm
intervals
Results
2.3s20512×body80valid