Details

Time bar (total: 11.1s)

sample184.0ms

Algorithm
intervals
Results
112.0ms136×body1280valid
31.0ms71×body640valid
11.0ms256×pre80true
4.0ms12×body320valid
3.0ms31×body80valid
1.0msbody160valid

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

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(- (tan (+ y z)) (tan a))
0.2b
(+ x (- (tan (+ y z)) (tan a)))
3.7b
(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:
8.0ms
(- (tan (+ y z)) (tan a))
7.0ms
(+ x (- (tan (+ y z)) (tan a)))
3.0ms
(tan (+ y z))

series277.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune147.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

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

series1.3s

Counts
4 → 12
Calls
4 calls:
652.0ms
(+ x (/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a))))
87.0ms
(* (tan y) (tan z))
88.0ms
(* (tan y) (tan z))
455.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

simplify72.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06071603
126991453
250021440

prune441.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

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

series1.2s

Counts
4 → 12
Calls
4 calls:
666.0ms
(+ x (* (/ 1 (- 1 (* (tan y) (tan z)))) (/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (cos a))))
346.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (cos a))
87.0ms
(* (tan y) (tan z))
88.0ms
(* (tan y) (tan z))

simplify64.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05481562
122811428
250011427

prune462.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

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

series707.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(* (tan y) (tan z))
86.0ms
(* (tan y) (tan z))
447.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (log (exp (* (tan y) (tan z))))) (cos a)))
86.0ms
(log (exp (* (tan y) (tan z))))

simplify64.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05141303
122871103
250011081

prune434.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

regimes444.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
02922
12922

end0.0ms

sample5.1s

Algorithm
intervals
Results
3.0s3869×body1280valid
949.0ms2039×body640valid
347.0ms8000×pre80true
223.0ms712×body320valid
106.0ms1103×body80valid
57.0ms277×body160valid