Details

Time bar (total: 4.2s)

sample42.0ms

Algorithm
intervals
Results
24.0ms638×body80valid

simplify76.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0258
1418
2678
31198
43098
514858
650028

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: 0.2b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* a a) (* b b))
0.0b
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
0.0b
(* 4.0 (* b b))
0.3b
(pow (+ (* a a) (* b b)) 2.0)

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
24×add-sqr-sqrt
18×associate-*r*
15×associate-*l*
12×add-cube-cbrt distribute-lft-out
10×pow1 add-exp-log
add-cbrt-cube
unpow-prod-down swap-sqr add-log-exp
unswap-sqr
pow-unpow pow-prod-down prod-exp *-commutative cbrt-unprod
+-commutative flip3-+ sum-log flip-+
pow-to-exp pow-pow pow-exp sqr-pow
Counts
4 → 88
Calls
4 calls:
16.0ms
(+ (* a a) (* b b))
39.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
9.0ms
(* 4.0 (* b b))
16.0ms
(pow (+ (* a a) (* b b)) 2.0)

series236.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (* a a) (* b b))
66.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
32.0ms
(* 4.0 (* b b))
105.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify78.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
0378514
11734477
25001475

prune165.0ms

Filtered
100 candidates to 59 candidates (59.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New973100
Fresh000
Picked101
Done000
Total983101

Merged error: 0b

Counts
101 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 4.0 (* b b))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
3.1b
(exp (log (* 4.0 (* b b))))
24.7b
(log (* 4.0 (* b b)))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt
56×log-prod
54×associate-*r*
39×*-un-lft-identity
28×exp-sum
27×add-cube-cbrt
22×pow1 associate-*l*
21×unswap-sqr
16×add-exp-log
14×swap-sqr
pow-prod-down *-commutative add-cbrt-cube
unpow-prod-down
exp-prod prod-exp log-pow
distribute-lft-out add-log-exp
pow-unpow rem-log-exp cbrt-unprod
rem-exp-log
pow-to-exp pow-pow pow-exp sqr-pow
Counts
4 → 143
Calls
4 calls:
11.0ms
(* 4.0 (* b b))
19.0ms
(pow (+ (* a a) (* b b)) 2.0)
14.0ms
(exp (log (* 4.0 (* b b))))
15.0ms
(log (* 4.0 (* b b)))

series358.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* 4.0 (* b b))
134.0ms
(pow (+ (* a a) (* b b)) 2.0)
31.0ms
(exp (log (* 4.0 (* b b))))
164.0ms
(log (* 4.0 (* b b)))

simplify73.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0378646
11540600
25001585

prune278.0ms

Filtered
155 candidates to 86 candidates (55.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1541155
Fresh112
Picked011
Done000
Total1553158

Merged error: 0b

Counts
158 → 3

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (pow b 4) (* 2 (* (pow a 2) (pow b 2))))
0.0b
(* 2 (* (pow a 2) (pow b 2)))
2.4b
(* (pow a 2) (pow b 2))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
81×add-sqr-sqrt
65×unswap-sqr
53×associate-*r*
38×add-exp-log
36×unpow-prod-down
28×prod-exp unpow2 sqr-pow
21×*-un-lft-identity
20×associate-*l*
15×add-cube-cbrt
12×pow1 pow-to-exp pow-exp
11×pow-prod-down
10×add-cbrt-cube
pow-unpow
add-log-exp
cbrt-unprod
*-commutative
pow-pow distribute-lft-out
+-commutative flip3-+ sum-log flip-+
Counts
3 → 150
Calls
3 calls:
40.0ms
(+ (pow b 4) (* 2 (* (pow a 2) (pow b 2))))
25.0ms
(* 2 (* (pow a 2) (pow b 2)))
12.0ms
(* (pow a 2) (pow b 2))

series173.0ms

Counts
3 → 9
Calls
3 calls:
70.0ms
(+ (pow b 4) (* 2 (* (pow a 2) (pow b 2))))
58.0ms
(* 2 (* (pow a 2) (pow b 2)))
45.0ms
(* (pow a 2) (pow b 2))

simplify102.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
0484862
12086695
25001688

prune301.0ms

Filtered
159 candidates to 86 candidates (54.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1590159
Fresh011
Picked011
Done011
Total1593162

Merged error: 0b

Counts
162 → 3

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 4.0 (* b b))
2.4b
(* (pow a 2) (pow b 2))
3.1b
(exp (log (* 4.0 (* b b))))
24.7b
(log (* 4.0 (* b b)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
83×add-sqr-sqrt
62×associate-*r*
56×log-prod
37×unswap-sqr
33×*-un-lft-identity
31×add-cube-cbrt
28×exp-sum
27×add-exp-log
26×associate-*l*
25×pow1
17×pow-prod-down
15×prod-exp
14×unpow-prod-down
12×swap-sqr
11×add-cbrt-cube
10×*-commutative unpow2 sqr-pow
pow-unpow
pow-to-exp exp-prod pow-exp log-pow
add-log-exp
cbrt-unprod
rem-log-exp
pow-pow rem-exp-log
Counts
4 → 179
Calls
4 calls:
10.0ms
(* 4.0 (* b b))
11.0ms
(* (pow a 2) (pow b 2))
13.0ms
(exp (log (* 4.0 (* b b))))
11.0ms
(log (* 4.0 (* b b)))

series265.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* 4.0 (* b b))
46.0ms
(* (pow a 2) (pow b 2))
29.0ms
(exp (log (* 4.0 (* b b))))
162.0ms
(log (* 4.0 (* b b)))

simplify90.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
0473741
11993662
25001644

prune389.0ms

Filtered
191 candidates to 100 candidates (52.4%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1910191
Fresh000
Picked011
Done022
Total1913194

Merged error: 0b

Counts
194 → 3

regimes83.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01710
11710

end0.0ms

sample1.1s

Algorithm
intervals
Results
766.0ms20180×body80valid