Details

Time bar (total: 8.7s)

sample133.0ms

Algorithm
intervals
Results
66.0ms138×body1280valid
21.0ms64×body640valid
19.0ms256×pre80true
3.0ms17×body320valid
2.0ms12×body160valid
2.0ms25×body80valid

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

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.3b

localize13.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.9b
(tan (+ y z))

rewrite19.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:
7.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series281.0ms

Counts
3 → 9
Calls
3 calls:
117.0ms
(+ x (- (tan (+ y z)) (tan a)))
115.0ms
(- (tan (+ y z)) (tan a))
49.0ms
(tan (+ y z))

simplify39.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune152.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

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)) (- 1 (* (tan y) (tan z))))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.3b
(* (tan y) (tan z))

rewrite134.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:
73.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
12.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
40.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series997.0ms

Counts
4 → 12
Calls
4 calls:
328.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
206.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
372.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
91.0ms
(* (tan y) (tan z))

simplify49.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04491259
115031211
250011204

prune343.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (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.2b
(/ (* (tan y) (sin z)) (cos z))
0.2b
(* (tan y) (sin z))

rewrite112.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:
18.0ms
(/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z))))
81.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
5.0ms
(/ (* (tan y) (sin z)) (cos z))
5.0ms
(* (tan y) (sin z))

series741.0ms

Counts
4 → 12
Calls
4 calls:
210.0ms
(/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z))))
373.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
92.0ms
(/ (* (tan y) (sin z)) (cos z))
65.0ms
(* (tan y) (sin z))

simplify51.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04891553
118481461
250021451

prune424.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
17×associate-*l/
16×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
associate-/l/
pow1
tan-quot
times-frac associate-*r* associate-*l* frac-sub
flip3-- flip--
cbrt-undiv div-exp prod-exp associate-/r* cbrt-unprod associate-/l* add-log-exp
frac-2neg flip3-+ pow-prod-down frac-add clear-num associate-/r/ *-commutative flip-+ div-inv unswap-sqr
div-sub
Counts
4 → 92
Calls
4 calls:
5.0ms
(/ (* (tan y) (sin z)) (cos z))
5.0ms
(* (tan y) (sin z))
5.0ms
(* (tan y) (sin z))
25.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (sin a))) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (cos a)))

series693.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (* (tan y) (sin z)) (cos z))
65.0ms
(* (tan y) (sin z))
62.0ms
(* (tan y) (sin z))
473.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (sin a))) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (cos a)))

simplify70.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05841467
127871251
250011226

prune480.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

regimes223.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02213
12213

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.9s3907×body1280valid
584.0ms1991×body640valid
579.0ms8000×pre80true
134.0ms664×body320valid
77.0ms1159×body80valid
39.0ms279×body160valid