Details

Time bar (total: 6.0s)

analyze5.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
25%25%50%4
37.5%12.5%50%5
43.7%6.2%50%6
46.9%3.1%50%7
48.4%1.6%50%8
49.2%0.8%50%9
49.6%0.4%50%10
49.8%0.2%50%11
49.9%0.1%50%12
49.9%0%50%13
49.9%0%50%14

sample101.0ms

Algorithm
intervals
Results
55.0ms105×body1280valid
25.0ms83×body640valid
8.0ms41×body320valid
2.0ms17×body160valid
1.0ms10×body80valid

simplify200.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (199.0ms)

IterNodesCost
0488912
1488912

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 58.1b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ 1.0 x) (- 1.0 x))
5.7b
(log (/ (+ 1.0 x) (- 1.0 x)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
63×*-un-lft-identity
41×add-sqr-sqrt
40×times-frac
26×log-prod
23×add-cube-cbrt
11×distribute-lft-out
distribute-lft-out-- difference-of-squares
add-exp-log
associate-/r*
associate-/r/ add-cbrt-cube associate-/l*
pow1
flip3-- div-exp rem-log-exp flip-- div-inv associate-/l/ add-log-exp
cbrt-undiv log-div frac-2neg flip3-+ clear-num log-pow flip-+
Counts
2 → 82
Calls
2 calls:
7.0ms
(/ (+ 1.0 x) (- 1.0 x))
7.0ms
(log (/ (+ 1.0 x) (- 1.0 x)))

series8.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(/ (+ 1.0 x) (- 1.0 x))
5.0ms
(log (/ (+ 1.0 x) (- 1.0 x)))

simplify48.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
050061111

prune156.0ms

Filtered
58 candidates to 88 candidates (-51.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New82688
Fresh000
Picked011
Done000
Total82789

Merged error: 0.2b

Counts
89 → 7

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x (* x 2.0)) (+ (log 1.0) (* 2.0 (- x (* (/ x 1.0) (/ x 1.0))))))
0.0b
(- x (* (/ x 1.0) (/ x 1.0)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt sum-log
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
+-commutative sub-neg associate-+r+ flip3-- flip3-+ diff-log flip-- flip-+ difference-of-squares
Counts
2 → 25
Calls
2 calls:
8.0ms
(+ (* x (* x 2.0)) (+ (log 1.0) (* 2.0 (- x (* (/ x 1.0) (/ x 1.0))))))
3.0ms
(- x (* (/ x 1.0) (/ x 1.0)))

series20.0ms

Counts
2 → 6
Calls
2 calls:
15.0ms
(+ (* x (* x 2.0)) (+ (log 1.0) (* 2.0 (- x (* (/ x 1.0) (/ x 1.0))))))
5.0ms
(- x (* (/ x 1.0) (/ x 1.0)))

simplify54.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
04934456
14934456

prune82.0ms

Filtered
24 candidates to 31 candidates (-29.2%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New30131
Fresh055
Picked011
Done011
Total30838

Merged error: 0.2b

Counts
38 → 8

localize28.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (- x (pow (/ x 1.0) 2)) (* x x))
0.0b
(* (pow x 6) (pow 2.0 3))
0.0b
(pow (+ (* (- x (pow (/ x 1.0) 2)) 2.0) (log 1.0)) 3)
39.4b
(/ (+ (* (pow x 6) (pow 2.0 3)) (pow (+ (* (- x (pow (/ x 1.0) 2)) 2.0) (log 1.0)) 3)) (+ (* 2.0 (* 2.0 (pow x 4))) (* (+ (* (- x (pow (/ x 1.0) 2)) 2.0) (log 1.0)) (+ (log 1.0) (* 2.0 (- (- x (pow (/ x 1.0) 2)) (* x x)))))))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity
19×add-exp-log
16×unpow-prod-down
12×associate-*r* unswap-sqr
10×sqr-pow
times-frac cube-prod prod-exp add-cbrt-cube add-log-exp
pow-to-exp associate-*l* pow-exp
pow1
pow-unpow flip3-+ diff-log associate-/r* flip-+ associate-/l*
cube-div cube-mult sub-neg unpow3 associate-/r/ associate-/l/
cbrt-undiv associate--l- flip3-- pow-pow frac-2neg div-exp associate--l+ clear-num *-commutative flip-- cbrt-unprod div-inv rem-cube-cbrt difference-of-squares
Counts
4 → 120
Calls
4 calls:
12.0ms
(- (- x (pow (/ x 1.0) 2)) (* x x))
8.0ms
(* (pow x 6) (pow 2.0 3))
14.0ms
(pow (+ (* (- x (pow (/ x 1.0) 2)) 2.0) (log 1.0)) 3)
28.0ms
(/ (+ (* (pow x 6) (pow 2.0 3)) (pow (+ (* (- x (pow (/ x 1.0) 2)) 2.0) (log 1.0)) 3)) (+ (* 2.0 (* 2.0 (pow x 4))) (* (+ (* (- x (pow (/ x 1.0) 2)) 2.0) (log 1.0)) (+ (log 1.0) (* 2.0 (- (- x (pow (/ x 1.0) 2)) (* x x)))))))

series134.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (- x (pow (/ x 1.0) 2)) (* x x))
6.0ms
(* (pow x 6) (pow 2.0 3))
7.0ms
(pow (+ (* (- x (pow (/ x 1.0) 2)) 2.0) (log 1.0)) 3)
116.0ms
(/ (+ (* (pow x 6) (pow 2.0 3)) (pow (+ (* (- x (pow (/ x 1.0) 2)) 2.0) (log 1.0)) 3)) (+ (* 2.0 (* 2.0 (pow x 4))) (* (+ (* (- x (pow (/ x 1.0) 2)) 2.0) (log 1.0)) (+ (log 1.0) (* 2.0 (- (- x (pow (/ x 1.0) 2)) (* x x)))))))

simplify64.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
051803825

prune719.0ms

Filtered
90 candidates to 132 candidates (-46.7%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1311132
Fresh055
Picked101
Done022
Total1328140

Merged error: 0.2b

Counts
140 → 8

localize35.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (- x (+ (pow (/ x 1.0) 2) (* x x))))
0.7b
(cbrt (- x (+ (pow (/ x 1.0) 2) (* x x))))
0.7b
(cbrt (- x (+ (pow (/ x 1.0) 2) (* x x))))
39.4b
(/ (+ (* (pow x 6) (pow 2.0 3)) (pow (+ (* (- x (pow (/ x 1.0) 2)) 2.0) (log 1.0)) 3)) (+ (* 2.0 (* 2.0 (pow x 4))) (* (+ (* (- x (pow (/ x 1.0) 2)) 2.0) (log 1.0)) (+ (log 1.0) (* 2.0 (* (* (cbrt (- x (+ (pow (/ x 1.0) 2) (* x x)))) (cbrt (- x (+ (pow (/ x 1.0) 2) (* x x))))) (cbrt (- x (+ (pow (/ x 1.0) 2) (* x x))))))))))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt *-un-lft-identity
15×cbrt-prod add-cube-cbrt
times-frac
add-exp-log cbrt-div add-cbrt-cube
pow1 add-log-exp
flip3-- pow1/3 associate-/r* flip-- associate-/l* distribute-lft-out-- difference-of-squares
flip3-+ associate-/r/ flip-+ associate-/l/
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
4 → 76
Calls
4 calls:
13.0ms
(cbrt (- x (+ (pow (/ x 1.0) 2) (* x x))))
10.0ms
(cbrt (- x (+ (pow (/ x 1.0) 2) (* x x))))
10.0ms
(cbrt (- x (+ (pow (/ x 1.0) 2) (* x x))))
26.0ms
(/ (+ (* (pow x 6) (pow 2.0 3)) (pow (+ (* (- x (pow (/ x 1.0) 2)) 2.0) (log 1.0)) 3)) (+ (* 2.0 (* 2.0 (pow x 4))) (* (+ (* (- x (pow (/ x 1.0) 2)) 2.0) (log 1.0)) (+ (log 1.0) (* 2.0 (* (* (cbrt (- x (+ (pow (/ x 1.0) 2) (* x x)))) (cbrt (- x (+ (pow (/ x 1.0) 2) (* x x))))) (cbrt (- x (+ (pow (/ x 1.0) 2) (* x x))))))))))

series176.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(cbrt (- x (+ (pow (/ x 1.0) 2) (* x x))))
11.0ms
(cbrt (- x (+ (pow (/ x 1.0) 2) (* x x))))
13.0ms
(cbrt (- x (+ (pow (/ x 1.0) 2) (* x x))))
142.0ms
(/ (+ (* (pow x 6) (pow 2.0 3)) (pow (+ (* (- x (pow (/ x 1.0) 2)) 2.0) (log 1.0)) 3)) (+ (* 2.0 (* 2.0 (pow x 4))) (* (+ (* (- x (pow (/ x 1.0) 2)) 2.0) (log 1.0)) (+ (log 1.0) (* 2.0 (* (* (cbrt (- x (+ (pow (/ x 1.0) 2) (* x x)))) (cbrt (- x (+ (pow (/ x 1.0) 2) (* x x))))) (cbrt (- x (+ (pow (/ x 1.0) 2) (* x x))))))))))

simplify42.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
059044002

prune795.0ms

Filtered
78 candidates to 88 candidates (-12.8%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New87188
Fresh055
Picked101
Done022
Total88896

Merged error: 0.2b

Counts
96 → 8

regimes249.0ms

Accuracy

0% (0.5b remaining)

Error of 0.6b against oracle of 0.1b and baseline of 0.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04524
14524

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.7s3366×body1280valid
743.0ms2495×body640valid
242.0ms1306×body320valid
73.0ms626×body160valid
11.0ms207×body80valid

Profiling

Loading profile data...