Details

Time bar (total: 8.5s)

sample120.0ms

Algorithm
intervals
Results
59.0ms121×body1280valid
17.0ms256×pre80true
17.0ms68×body640valid
3.0ms16×body320valid
2.0ms44×body80valid
1.0msbody160valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

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

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

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
1.9b
(tan (+ y z))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
6.0ms
(+ x (- (tan (+ y z)) (tan a)))
6.0ms
(- (tan (+ y z)) (tan a))
4.0ms
(tan (+ y z))

series270.0ms

Counts
3 → 9
Calls
3 calls:
112.0ms
(+ x (- (tan (+ y z)) (tan a)))
107.0ms
(- (tan (+ y z)) (tan a))
50.0ms
(tan (+ y z))

simplify37.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune138.0ms

Filtered
51 candidates to 39 candidates (76.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New42951
Fresh000
Picked101
Done000
Total43952

Merged error: 0.0b

Counts
52 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
22×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
11×add-log-exp
add-exp-log add-cbrt-cube
tan-quot
pow1 distribute-lft-out
associate-/l*
associate-*r* associate-*l* associate-/r* associate-/l/
sub-neg associate-+r+ flip3-- flip3-+ diff-log sum-log associate-/r/ flip-- flip-+ distribute-lft-out-- difference-of-squares
cbrt-undiv +-commutative frac-times associate-+r- frac-2neg associate-*r/ div-exp pow-prod-down associate-*l/ frac-add prod-exp clear-num *-commutative frac-sub cbrt-unprod div-inv unswap-sqr
Counts
4 → 90
Calls
4 calls:
8.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
12.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
12.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series1.2s

Counts
4 → 12
Calls
4 calls:
211.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
515.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
360.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
86.0ms
(* (tan y) (tan z))

simplify45.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04491259
115031211
250011204

prune307.0ms

Filtered
102 candidates to 75 candidates (73.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New984102
Fresh268
Picked101
Done000
Total10110111

Merged error: 0.0b

Counts
111 → 10

localize27.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (log (exp (* (tan y) (tan z)))))) (tan a))
0.2b
(exp (* (tan y) (tan z)))
0.2b
(* (tan y) (tan z))
3.1b
(log (exp (* (tan y) (tan z))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
*-un-lft-identity add-log-exp
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube
tan-quot
log-prod associate-*r* associate-*l* log-pow
exp-prod exp-to-pow difference-of-squares
frac-times sub-neg flip3-- times-frac diff-log associate-*r/ rem-log-exp pow-prod-down associate-*l/ prod-exp *-commutative frac-sub flip-- cbrt-unprod rem-exp-log distribute-lft-out-- unswap-sqr
Counts
4 → 61
Calls
4 calls:
17.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (log (exp (* (tan y) (tan z)))))) (tan a))
4.0ms
(exp (* (tan y) (tan z)))
5.0ms
(* (tan y) (tan z))
2.0ms
(log (exp (* (tan y) (tan z))))

series672.0ms

Counts
4 → 12
Calls
4 calls:
365.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (log (exp (* (tan y) (tan z)))))) (tan a))
122.0ms
(exp (* (tan y) (tan z)))
86.0ms
(* (tan y) (tan z))
100.0ms
(log (exp (* (tan y) (tan z))))

simplify52.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0261684
1705622
21821612
35002612

prune270.0ms

Filtered
73 candidates to 55 candidates (75.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New73073
Fresh099
Picked011
Done000
Total731083

Merged error: 0.0b

Counts
83 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
123×times-frac
104×*-un-lft-identity
83×add-sqr-sqrt
67×add-cube-cbrt
23×associate-/r*
19×add-exp-log
16×associate-/r/ distribute-lft-out
15×tan-quot
13×add-cbrt-cube
div-exp
pow1 div-inv
associate-/l* add-log-exp
flip3-+ frac-add flip-+ difference-of-squares
cbrt-undiv
associate-*r* associate-*l*
rec-exp flip3-- frac-2neg 1-exp clear-num flip-- associate-/l/ distribute-lft-out--
frac-times sub-neg pow-flip diff-log div-sub associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative frac-sub cbrt-unprod inv-pow unswap-sqr
Counts
4 → 178
Calls
4 calls:
26.0ms
(- (/ 1 (/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z)))) (tan a))
8.0ms
(* (tan y) (tan z))
8.0ms
(/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z)))
10.0ms
(/ 1 (/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z))))

series933.0ms

Counts
4 → 12
Calls
4 calls:
373.0ms
(- (/ 1 (/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z)))) (tan a))
89.0ms
(* (tan y) (tan z))
260.0ms
(/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z)))
211.0ms
(/ 1 (/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z))))

simplify80.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
06992789
130192504
250022478

prune368.0ms

Filtered
190 candidates to 108 candidates (56.8%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1891190
Fresh178
Picked011
Done011
Total19010200

Merged error: 0.0b

Counts
200 → 10

regimes523.0ms

Accuracy

0% (0.1b 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
02113
12113

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.7s3887×body1280valid
542.0ms8000×pre80true
497.0ms1994×body640valid
119.0ms709×body320valid
63.0ms1153×body80valid
30.0ms257×body160valid