Details

Time bar (total: 8.6s)

sample106.0ms

Algorithm
intervals
Results
45.0ms116×body1280valid
18.0ms81×body640valid
14.0ms256×pre80true
3.0ms21×body320valid
1.0ms29×body80valid
1.0msbody160valid

simplify24.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune3.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: 13.2b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
5.1b
(tan (+ y z))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
18×prod-diff
17×add-cube-cbrt
11×associate-+r+
10×add-log-exp
tan-quot
pow1 add-exp-log expm1-log1p-u fma-def fma-neg add-cbrt-cube log1p-expm1-u
sub-neg tan-sum diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 72
Calls
3 calls:
7.0ms
(+ x (- (tan (+ y z)) (tan a)))
8.0ms
(- (tan (+ y z)) (tan a))
4.0ms
(tan (+ y z))

series331.0ms

Counts
3 → 9
Calls
3 calls:
136.0ms
(+ x (- (tan (+ y z)) (tan a)))
131.0ms
(- (tan (+ y z)) (tan a))
64.0ms
(tan (+ y z))

simplify92.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune241.0ms

Filtered
81 candidates to 59 candidates (72.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New73881
Fresh000
Picked101
Done000
Total74882

Merged error: 0.1b

Counts
82 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.1b
(+ (tan y) (tan z))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.3b
(* (tan y) (tan z))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
151×*-un-lft-identity
108×prod-diff
107×add-sqr-sqrt
100×add-cube-cbrt
85×times-frac
56×associate-+r+
24×distribute-lft-out
18×fma-neg
14×associate-/r/
13×add-log-exp
flip3-- flip--
tan-quot div-inv
pow1 add-exp-log fma-def add-cbrt-cube
expm1-log1p-u log1p-expm1-u
associate-*r* associate-*l* sum-log
+-commutative sub-neg flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub cbrt-unprod unswap-sqr
Counts
4 → 207
Calls
4 calls:
18.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
5.0ms
(+ (tan y) (tan z))
15.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
6.0ms
(* (tan y) (tan z))

series1.0s

Counts
4 → 12
Calls
4 calls:
390.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
108.0ms
(+ (tan y) (tan z))
437.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
106.0ms
(* (tan y) (tan z))

simplify83.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
06764072
120873376
250013265

prune692.0ms

Filtered
219 candidates to 132 candidates (60.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2109219
Fresh707
Picked101
Done000
Total2189227

Merged error: 0.0b

Counts
227 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(exp (* (tan y) (tan z)))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (log (exp (* (tan y) (tan z)))))) (tan a))
0.3b
(* (tan y) (tan z))
2.5b
(log (exp (* (tan y) (tan z))))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
211×*-un-lft-identity
144×add-sqr-sqrt
113×times-frac
102×prod-diff
89×add-cube-cbrt
34×fma-neg difference-of-squares
33×distribute-lft-out--
28×distribute-lft-out
23×pow1
19×log-pow
add-log-exp
associate-/r/
add-exp-log add-cbrt-cube
tan-quot flip3-- flip--
expm1-log1p-u log1p-expm1-u div-inv
log-prod associate-*r* associate-*l*
exp-prod exp-to-pow
frac-times sub-neg diff-log associate-*r/ rem-log-exp pow-prod-down associate-*l/ prod-exp *-commutative frac-sub cbrt-unprod rem-exp-log unswap-sqr
Counts
4 → 205
Calls
4 calls:
4.0ms
(exp (* (tan y) (tan z)))
28.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (log (exp (* (tan y) (tan z)))))) (tan a))
6.0ms
(* (tan y) (tan z))
2.0ms
(log (exp (* (tan y) (tan z))))

series805.0ms

Counts
4 → 12
Calls
4 calls:
141.0ms
(exp (* (tan y) (tan z)))
445.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (log (exp (* (tan y) (tan z)))))) (tan a))
110.0ms
(* (tan y) (tan z))
108.0ms
(log (exp (* (tan y) (tan z))))

simplify78.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05424427
116843338
250013278

prune561.0ms

Filtered
217 candidates to 97 candidates (44.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2152217
Fresh178
Picked101
Done000
Total2179226

Merged error: 0.0b

Counts
226 → 9

localize24.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan y) (tan z))
2.5b
(log (exp (* (tan y) (tan z))))
2.5b
(log (exp (* (tan y) (tan z))))
2.5b
(log (exp (* (tan y) (tan z))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
pow1 add-cube-cbrt log-prod *-un-lft-identity log-pow
add-log-exp
add-exp-log add-cbrt-cube
tan-quot expm1-log1p-u log1p-expm1-u
exp-prod exp-to-pow rem-log-exp associate-*r* associate-*l*
frac-times associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 71
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
2.0ms
(log (exp (* (tan y) (tan z))))
2.0ms
(log (exp (* (tan y) (tan z))))
2.0ms
(log (exp (* (tan y) (tan z))))

series432.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(* (tan y) (tan z))
109.0ms
(log (exp (* (tan y) (tan z))))
111.0ms
(log (exp (* (tan y) (tan z))))
103.0ms
(log (exp (* (tan y) (tan z))))

simplify67.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 3 (27.0ms)

IterNodesCost
0141456
1401403
2977403
32209399
45001399

prune434.0ms

Filtered
83 candidates to 68 candidates (81.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New82183
Fresh088
Picked011
Done000
Total821092

Merged error: 0.0b

Counts
92 → 10

regimes454.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02626
12626

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.6s3927×body1280valid
465.0ms2004×body640valid
321.0ms8000×pre80true
101.0ms665×body320valid
52.0ms1105×body80valid
34.0ms299×body160valid