Details

Time bar (total: 6.3s)

analyze347.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%74.9%25.1%3
0%74.9%25.1%4
0%74.9%25.1%5
0%62.4%37.6%6
0%31.2%68.8%7
0%31.2%68.8%8
0%31.2%68.8%9
0%28.1%71.9%10
6.1%20.4%73.5%11
6.1%20.4%73.5%12
7.7%18.8%73.5%13
9.2%16.6%74.3%14

sample64.0ms

Algorithm
intervals
Results
14.0ms170×body80valid
13.0ms11×body1280valid
12.0ms29×body640valid
9.0ms33×body320valid
2.0ms13×body160valid
1.0msbody80nan
0.0msbody80invalid

simplify141.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0269
1499
21189
32569
45339
512509
626379
742979
845739
945889
1045889

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.3b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y))))
0.0b
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y)))) t)
0.1b
(* (- x 1.0) (log y))
5.7b
(log (- 1.0 y))

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
27×log-prod
25×add-sqr-sqrt
23×*-un-lft-identity
13×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in add-log-exp
10×associate-+r+ associate-*l/
pow1
add-exp-log flip3-- flip--
associate-+l+ add-cbrt-cube
associate-*l* distribute-lft-out-- difference-of-squares
associate-*r* frac-add
log-div diff-log sum-log log-pow
+-commutative sub-neg flip3-+ rem-log-exp pow-prod-down prod-exp associate--l+ *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 92
Calls
4 calls:
11.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y))))
10.0ms
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y)))) t)
6.0ms
(* (- x 1.0) (log y))
3.0ms
(log (- 1.0 y))

series75.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y))))
38.0ms
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y)))) t)
10.0ms
(* (- x 1.0) (log y))
3.0ms
(log (- 1.0 y))

simplify64.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0675991
12434927
25001887

prune198.0ms

Filtered
80 candidates to 104 candidates (-30.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New986104
Fresh000
Picked101
Done000
Total996105

Merged error: 0.0b

Counts
105 → 6

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
0.0b
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
0.0b
(* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
0.1b
(* (- x 1.0) (log y))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
94×add-sqr-sqrt
80×times-frac
78×associate-*r*
57×*-un-lft-identity
56×unpow-prod-down
50×add-cube-cbrt
31×add-exp-log
27×flip3-- flip--
24×log-prod associate-*l/ unpow2 sqr-pow
19×unswap-sqr
16×distribute-rgt-in distribute-lft-in frac-add
13×associate-*l* add-cbrt-cube
12×pow1 frac-times prod-exp associate--l+
10×associate-+r+
div-exp
associate-*r/
pow-to-exp associate-+l+ pow-exp add-log-exp
sub-neg cbrt-unprod distribute-lft-out--
pow-prod-down *-commutative difference-of-squares
log-pow
cbrt-undiv +-commutative flip3-+ sum-log flip-+ div-inv
Counts
4 → 223
Calls
4 calls:
11.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
19.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
14.0ms
(* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
7.0ms
(* (- x 1.0) (log y))

series70.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
5.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
13.0ms
(* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
10.0ms
(* (- x 1.0) (log y))

simplify58.0ms

Algorithm
egg-herbie
Counts
235 → 235
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
013592834
150012680

prune721.0ms

Filtered
162 candidates to 235 candidates (-45.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2332235
Fresh055
Picked011
Done000
Total2338241

Merged error: 0.0b

Counts
241 → 8

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
0.1b
(* (- x 1.0) (log y))
0.2b
(* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
0.4b
(* (* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (- (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
95×add-sqr-sqrt
88×associate-*r*
80×times-frac
59×*-un-lft-identity
56×unpow-prod-down
45×add-cube-cbrt
36×add-exp-log
32×frac-times
24×unpow2 sqr-pow
22×flip3-- flip--
19×unswap-sqr
18×pow1 associate-*l/ add-cbrt-cube
15×prod-exp
14×associate-*l*
12×flip3-+ sqrt-prod flip-+
11×associate-*r/
div-exp
cbrt-unprod
distribute-rgt-in pow-to-exp log-prod distribute-lft-in pow-prod-down pow-exp difference-of-squares
distribute-lft-out--
*-commutative add-log-exp
log-pow distribute-lft-out
sub-neg
cbrt-undiv div-inv
Counts
4 → 227
Calls
4 calls:
21.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
6.0ms
(* (- x 1.0) (log y))
13.0ms
(* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
21.0ms
(* (* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (- (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))

series82.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
13.0ms
(* (- x 1.0) (log y))
24.0ms
(* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
39.0ms
(* (* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (- (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))

simplify61.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
013293335
150022950

prune1.3s

Filtered
163 candidates to 239 candidates (-46.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2390239
Fresh066
Picked011
Done011
Total2398247

Merged error: 0.0b

Counts
247 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 0.5 (pow y 2))
0.0b
(+ (* 1.0 (* z y)) (* 0.5 (* z (pow y 2))))
0.1b
(* (- x 1.0) (log y))
7.1b
(* z (pow y 2))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
20×associate-*r*
16×add-exp-log *-un-lft-identity
14×add-cube-cbrt
11×associate-*l*
10×add-cbrt-cube
unswap-sqr
unpow-prod-down
pow1 prod-exp
log-prod add-log-exp
unpow2 sqr-pow
distribute-rgt-in distribute-lft-in *-commutative cbrt-unprod
pow-to-exp associate-*l/ pow-exp
+-commutative flip3-- flip3-+ pow-prod-down sum-log log-pow flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
4 → 94
Calls
4 calls:
6.0ms
(* 0.5 (pow y 2))
6.0ms
(+ (* 1.0 (* z y)) (* 0.5 (* z (pow y 2))))
7.0ms
(* (- x 1.0) (log y))
6.0ms
(* z (pow y 2))

series35.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 0.5 (pow y 2))
13.0ms
(+ (* 1.0 (* z y)) (* 0.5 (* z (pow y 2))))
10.0ms
(* (- x 1.0) (log y))
8.0ms
(* z (pow y 2))

simplify59.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0431548
11797471
25001443

prune198.0ms

Filtered
69 candidates to 106 candidates (-53.6%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1060106
Fresh055
Picked011
Done022
Total1068114

Merged error: 0.0b

Counts
114 → 8

regimes597.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02815
12815

end0.0ms

analyze427.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%74.9%25.1%3
0%74.9%25.1%4
0%74.9%25.1%5
0%62.4%37.6%6
0%31.2%68.8%7
0%31.2%68.8%8
0%31.2%68.8%9
0%28.1%71.9%10
6.1%20.4%73.5%11
6.1%20.4%73.5%12
7.7%18.8%73.5%13
9.2%16.6%74.3%14

sample1.4s

Algorithm
intervals
Results
443.0ms5847×body80valid
292.0ms740×body640valid
197.0ms273×body1280valid
180.0ms725×body320valid
65.0ms415×body160valid
23.0ms264×body80nan
3.0ms36×body80invalid

Profiling

Loading profile data...