Details

Time bar (total: 11.0s)

sample166.0ms

Algorithm
intervals
Results
88.0ms125×body1280valid
33.0ms65×body640valid
9.0ms256×pre80true
5.0ms20×body320valid
3.0ms36×body80valid
2.0ms10×body160valid

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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.2b

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.5b
(tan (+ y z))

rewrite38.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:
14.0ms
(+ x (- (tan (+ y z)) (tan a)))
16.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(tan (+ y z))

series304.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune145.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite126.0ms

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

series1.0s

Counts
4 → 12
Calls
4 calls:
313.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
506.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
97.0ms
(* (tan y) (tan z))
95.0ms
(* (tan y) (tan z))

simplify89.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
06551681
130861507
250011490

prune496.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
16×add-sqr-sqrt
15×associate-*l/
12×add-cube-cbrt *-un-lft-identity
10×tan-quot
associate-/l/
pow1
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
associate-*r/
frac-2neg flip3-+ pow-prod-down frac-add clear-num associate-/r/ *-commutative flip-+ div-inv unswap-sqr
frac-times div-sub
Counts
4 → 94
Calls
4 calls:
14.0ms
(/ (* (sin y) (tan z)) (cos y))
66.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (* (sin y) (tan z)) (cos y))) (cos a)))
15.0ms
(* (tan y) (tan z))
13.0ms
(* (sin y) (tan z))

series973.0ms

Counts
4 → 12
Calls
4 calls:
293.0ms
(/ (* (sin y) (tan z)) (cos y))
501.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (* (sin y) (tan z)) (cos y))) (cos a)))
95.0ms
(* (tan y) (tan z))
83.0ms
(* (sin y) (tan z))

simplify78.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
06321392
130291208
250011208

prune504.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite108.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt associate-*l/
13×add-exp-log add-cbrt-cube
11×add-cube-cbrt *-un-lft-identity
tan-quot pow1
associate-/l/
associate-*r* associate-*l* frac-sub
flip3-- flip-- add-log-exp
log-prod times-frac prod-exp log-pow cbrt-unprod associate-/l*
cbrt-undiv flip3-+ associate-*r/ div-exp pow-prod-down frac-add associate-/r/ *-commutative flip-+ unswap-sqr
frac-times exp-prod exp-to-pow frac-2neg div-sub rem-log-exp clear-num associate-/r* div-inv
Counts
4 → 86
Calls
4 calls:
72.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (log (exp (* (sin y) (tan z)))) (cos y))) (cos a)))
17.0ms
(* (tan y) (tan z))
13.0ms
(* (sin y) (tan z))
4.0ms
(log (exp (* (sin y) (tan z))))

series754.0ms

Counts
4 → 12
Calls
4 calls:
499.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (log (exp (* (sin y) (tan z)))) (cos y))) (cos a)))
96.0ms
(* (tan y) (tan z))
79.0ms
(* (sin y) (tan z))
80.0ms
(log (exp (* (sin y) (tan z))))

simplify71.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05831392
126191198
250011196

prune499.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

regimes583.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
03424
13424

end0.0ms

sample4.8s

Algorithm
intervals
Results
2.8s3834×body1280valid
878.0ms2063×body640valid
302.0ms8000×pre80true
191.0ms677×body320valid
106.0ms1128×body80valid
68.0ms298×body160valid