Details

Time bar (total: 8.0s)

sample119.0ms

Algorithm
intervals
Results
59.0ms130×body1280valid
17.0ms256×pre80true
14.0ms58×body640valid
4.0ms24×body320valid
2.0ms39×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: 16.4b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.8b
(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:
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(- (tan (+ y z)) (tan a))
4.0ms
(tan (+ y z))

series288.0ms

Counts
3 → 9
Calls
3 calls:
120.0ms
(+ x (- (tan (+ y z)) (tan a)))
113.0ms
(- (tan (+ y z)) (tan a))
55.0ms
(tan (+ y z))

simplify40.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune151.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.1b

Counts
52 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

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

series782.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(+ (tan y) (tan z))
216.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
381.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
93.0ms
(* (tan y) (tan z))

simplify109.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03941046
113501000
24350992
35001992

prune321.0ms

Filtered
98 candidates to 74 candidates (75.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New95398
Fresh178
Picked101
Done000
Total9710107

Merged error: 0.0b

Counts
107 → 10

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.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:
18.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (log (exp (* (tan y) (tan z)))))) (tan a))
4.0ms
(exp (* (tan y) (tan z)))
6.0ms
(* (tan y) (tan z))
2.0ms
(log (exp (* (tan y) (tan z))))

series685.0ms

Counts
4 → 12
Calls
4 calls:
381.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (log (exp (* (tan y) (tan z)))))) (tan a))
120.0ms
(exp (* (tan y) (tan z)))
92.0ms
(* (tan y) (tan z))
92.0ms
(log (exp (* (tan y) (tan z))))

simplify56.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0261684
1705622
21821612
35002612

prune244.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

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity
42×add-sqr-sqrt
28×times-frac
20×add-cube-cbrt
13×add-exp-log add-cbrt-cube
12×difference-of-squares
associate-/r*
distribute-lft-out
pow1 distribute-lft-out-- add-log-exp
tan-quot associate-/l*
associate-/l/
cbrt-undiv div-exp associate-*r* associate-*l*
flip3-- frac-2neg associate-*l/ prod-exp clear-num associate-/r/ flip-- cbrt-unprod div-inv
sub-neg flip3-+ diff-log pow-prod-down frac-add *-commutative frac-sub flip-+ unswap-sqr
Counts
4 → 108
Calls
4 calls:
6.0ms
(/ (* (tan y) (sin z)) (cos z))
11.0ms
(/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z))))
17.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
9.0ms
(* (tan y) (sin z))

series758.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(/ (* (tan y) (sin z)) (cos z))
211.0ms
(/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z))))
384.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
67.0ms
(* (tan y) (sin z))

simplify57.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04891551
118491459
250021449

prune338.0ms

Filtered
120 candidates to 83 candidates (69.2%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1200120
Fresh088
Picked011
Done011
Total12010130

Merged error: 0.0b

Counts
130 → 10

regimes578.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.7s3892×body1280valid
532.0ms8000×pre80true
502.0ms1991×body640valid
128.0ms704×body320valid
62.0ms1138×body80valid
33.0ms275×body160valid

Profiling

Loading profile data...